• I have a server with multiple WordPress’s running separately.
    On some of them there is a login problem.
    You login, there is no error message, but you are not logged in and can’t access anything like Dasboard and so on, you are stuck on the login screen. It takes about 20 to 40 seconds and you have to try again, then you are truly logged in, every time.
    I use simple history, it logs login attempts, you can see there that I was logged in on the first try.
    This doesn’t happen to users with the role Subscriber.
    I have tried to delete and replace every file with wp-latest.zip, only database access configured in wp-config.php, no change in behavior.
    It happens to every account that has not Subscriber as role.
    When I try to delete all browser cache and just login again everything works as expected. But on the next day, or when I clear cache and restart the browser, then the problem happens again.
    I can not find any differences in the database structure between working WordPress installs and installs with that problem. Seems to be no usefull information in Wp debug logs, or server debug, or php debug logs either.

    Is there anything else I can try?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter aceone999

    (@aceone999)

    According to my tests it’s basically on every site a different theme or plugin. This makes no sense at all. How should I fix this? You can’t see any thing wrong with the theme or plugin. The same theme or plugin works on an other site fine.

    Thread Starter aceone999

    (@aceone999)

    I can even just got to wp-login.php do nothing and wait a minute, and then login works normal.
    The only thing happens when I go to wp-login.php is that a cookie is created:

    wordpress_test_cookie:WP+Cookie+check

    When i try to login 3 other session related cookies are created for a second, but vanish immediately.
    wordpress_sec_…
    wordpress_sec_…
    wordpress_logged_in_…

    No error message. No error in browser console.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t login. But acording to WP I am already logged in on first try’ is closed to new replies.