• Resolved ITSPaul

    (@itspaul)


    Hello,

    I can’t seem to figure out this login issue. When I install this plugin and as soon as I activate it, it keeps me out and I can’t log back in.

    Any idea what is happening?

    Thank you

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter ITSPaul

    (@itspaul)

    Update:

    The moment I enable page cache I am not able to log in. I am on a shared hosting server and I integrated the site with cloudflare to leverage there ssl (https). Any idea which might be causing this?

    Thank you kindly,

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    What is the error that you receive or what happens when you try to log in?

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    Thank you for the reply, that’s the problem it doesn’t give me any error message. What happens is it kicks me out of the dashboard and wants me to log in again and when I try to log back in it won’t let me it just takes me back to the login page to enter my username and password.

    I am on a share hosting and out of the 10 sites, 5 of them have this same issue the other 5 worked.

    Thank you

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    Would also like to add I tried disabling all other plugins except for W3 and changed theme to default WordPress theme and still had the same issue.

    Thank you,

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Can you please try to disable W3 Total Cache settings one by one and see which one is actually causing the issue?

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    Thank you for the reply, page cache is causing this issue. When this setting is enabled I can no longer log in.

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Can you please check your debug.log for any errors. Make sure that WP_DEBUG is enabled.

    Also under Performance>Page cache, Never cache the following pages: is wp-.*\.php added?

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    Thank you for the reply.

    The following are being listed under (Never cache):
    wp-.*\.php
    index\.php

    I enabled debugging and logging and it was clean no errors. So here is my steps:
    1) Install the plugin and activate
    2) Before I configure any settings I try to enable Page cache is this is the setting once enabled kicks me out.
    3) Once enabled it kicks me out and wants me to log back in which at that point it just takes me back to the sign in page.

    In order for me to get back into the dashboard I have to modify .htaccess file (remove w3 lines of code), delete the plugin and delete the following files/directory under wp-content:
    -Cache
    -w3tc-config
    -advanced-cache.php
    -object-cache.php

    The strange part is its working fine on the five other sites that I have this enabled on.

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @itspaul,
    What about the debug.log?

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    A debug.log is not created when logging is enabled which means site contains no errors to report if a debug.log file does not get created.

    This is so very strange!

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Is “Never cache pages for following users” selected? Also, can you change the caching method to Disk Basic and see if the issue persist?
    What settings do you have enabled in Page Cache?

    Thread Starter ITSPaul

    (@itspaul)

    Hello Marko,

    Thank you for the support you have been offering thus far. I tried “Disk Basic” same issue and yes “Dont cache pages for logged in user” is selected. Under the Page Cache settings section I pretty much have the default:

    Following settings are enabled:
    Cache posts page
    Cache feeds: site, categories, tags, comments
    Cache SSL (https) requests (I am using cloud flare)
    Don’t cache pages for logged in users

    Cache Preload section:
    Automatically prime the page cache: Enabled
    Update interval: 900 seconds
    Pages per interval: 10
    Sitemap URL: “this url is defined”
    Preload the post cache upon publish events: Enabled

    Advance:
    Never cache the following pages:
    wp-.*\.php
    index\.php

    The rest is default to what the plugin comes with.

    I really dont understand this issue, 5/10 out of the sites I have encounter this issue and the other 5 work perfectly with this plugin enabled and they are all on the same shared hosting server.

    Thank you kindly,

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    sorry for the late response.
    Please try to clear browser cookies and try login in the anonymous window.
    Can you also confirm if reauth=1 is added to the URL or not?

    Thread Starter ITSPaul

    (@itspaul)

    Hello,

    Browser cookies were cleared multiple times and incognito mode was tried as well without any success.

    Yes reauth=1 is added to the end of the URL.

    Here is a sample of the url (domain name removed)
    https://mydomainname/wp-login.php?redirect_to=https%3A%2F%2Fwww.mydomainname.ca%2Fwp-admin%2Findex.php&reauth=1

    Thank you,

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Can you try to remove reauth=1 and try to log in?

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Login issue’ is closed to new replies.