Support » Fixing WordPress » AUTH_KEY Problems

  • I just upgraded from 2.5 to 2.7 and ran into an issue adding the secret keys.

    I performed the upgrade (including database upgrade) before adding the secret keys to my wp-config.php file. After adding them I get permissions errors logging in (“You do not have sufficient permissions to access this page.”). I’ve narrowed it down to the AUTH_KEY, define it and I’m locked out, comment it out and I’m in the admin panel.

    Things I’ve tried:
    Deleting Cookies
    Deleting Cookies on multiple browsers
    Manually checking some user database entries
    Deactivating Plugins (they’re all deactivated from the upgrade)
    Default Theme

    Things I haven’t tried:
    Fresh install

    Any thoughts or ideas? I’m guessing that I should have added the keys before the database upgrade?

Viewing 1 replies (of 1 total)
  • The solution is quite simple and stupid.
    make sure that the AUTH_KEY and other keys part come right after: define(‘DB_COLLATE’, ”);
    and not somewhere else in the wp-config.php file.
    That fixed it for me.

Viewing 1 replies (of 1 total)
  • The topic ‘AUTH_KEY Problems’ is closed to new replies.