Question

I have a weird issue: I changed my timezone, hit "Save," and was immediately logged out of the admin panel. Now every time I try to access the dashboard after logging in I'm immediately logged out.

My editor has not been effected by this—apparently it's only my account.

I've searched Google, the WordPress.org support forums, and WordPress.se to no avail. I've also tried clearing my browser cache and have tried accessing the panel in both Chrome and Safari. Still no go.


EDIT: Per @AndrewBartel's suggestion, I tried spinning up a clean install of WordPress and making the change, and everything worked fine, so it's something with my installation.

I've installed every extension on the broken site to the clean install one-by-one, checking to see if any one introduces the timezone issue. Nothing. Here's the list:

better-wp-security          Checked, but not configured the same...
[CUSTOM PLUGIN]             Checked, not the problem
disable-google-fonts        Checked, not the problem
profile-builder             Checked, not the problem
wp-security-audit-log       Checked, not the problem
disable-visual-editor       Checked, not the problem
shortcodes-ultimate         Checked, not the problem
wp-super-cache              Checked, not the problem
editorial-calendar          Checked, not the problem
updraftplus                 Checked, not the problem
wp-ultimate-csv-importer    Checked, not the problem
exclude-pages               Checked, not the problem
usernoise                   Checked, not the problem
wp-update-notification      Checked, not the problem
google-sitemap-generator    Checked, not the problem
wordpress-importer          Checked, not the problem
wpmandrill                  Checked, not the problem
hotfix                      Checked, not the problem
wordpress-php-info          Checked, not the problem

EDIT EDIT: Well, it started happening again. This time I didn't make any changes to the setting, so I think the timezone thing may have been a coincidence.

Bit more info: Trying to access the login page redirects me to the home page before I can even attempt a login. Logging in from my custom login form does log me in, and the admin panel displays. But then trying to navigate to the admin panel logs me out and redirects me back to the home page.

Was it helpful?

Solution 3

I've found the problem. It's a plugin called iThemes Security.

Here's what I did to figure it out:

  1. I renamed my plugins folder plugins_old—and the website started working.
  2. I created a new, empty plugins folder.
  3. I moved each plugin back into the plugins folder one-by-one, checking whether or not I had access to the admin panel after each move.
  4. When I got to iThemes Security—surprise—I again lost access to the admin panel.
  5. Moving iThemes Security back into plugins_old again fixed the issue, so I know it wasn't just a coincidence.

I've created a support thread; you can see it here.

Big thanks to Rarst & kaiser in the chat room for teaching me how to debug. You can see the transcript here.

OTHER TIPS

This may be because of the way Wordpress handles logins with cookies. Have you tried deleting your cookies and sessins in your browser(s)?

Disclaimer: I know this belongs in a comment, but I don't got 15 rep yet, so I can't comment

Well, after a couple of days it seems to have worked itself out on its own. Wish I know what the problem was and how it was resolved. I guess I'll just have to be content with my restored access.


EDIT: Well, it started happening again. This time I didn't make any changes to the setting, so I think the timezone thing may have been a coincidence.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top