2.6.0 > 2.6.2 upgrade. Lost access to Admin login (8 posts)

  1. photosbykev
    Posted 6 years ago #

    I've just manually upgraded wp2.6.0 to wp2.6.2.

    Firstly I turned off all the plugins and then followed the wordpress instructions to upgrade to 2.6.2 using WS-FTP.

    The database was updated ok but :

    Now I get "You don't have permission to access /wordpress/wp-admin/ on this server." when I try to log in to the Site Admin. I've tried logging out and going back in with two usernames with Admin rights both give the same error message

    I've cleared all caches and cookies, requested via the lost password and received the reset password link and tried the supplied temporary password for Admin and for another username with Admin rights. Neither of them are accepted.

    I hope someone has the answer out there as I've just about run out of ideas.

    Kev Lewis

  2. Perhaps you need to fix the permissions of your files?


  3. photosbykev
    Posted 6 years ago #

    Thanks for the link Otto42 I check through the permissions set on my server and they look ok.

    I've now discovered when I try to log in and get the "You don't have permission to access /wordpress/wp-admin/ on this server." message if I reload the main site I can access all the admin pages via the "edit this page" link that appears at the bottom of each page.

    So the login IS working but I don't get redirected directly to the Admin side of the installation. Very odd ???

  4. nikc
    Posted 6 years ago #

    Same problem with me.

    Further than that, WP is losing my password all the time, ever since I upgraded.

  5. Ripose
    Posted 6 years ago #

    Have you checked wp-config.php ?

    Are all the top 3 settings correct?

    // ** MySQL settings ** //
    define('DB_NAME', 'Your_Database_name');
    // The name of the database
    define('DB_USER', 'Your_Database_Admin_Username');
    // Your MySQL username
    define('DB_PASSWORD', 'Your_Database_Admin_Password');
    // ...and password
    define('DB_HOST', 'localhost');
    // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
  6. photosbykev
    Posted 6 years ago #

    Ripose: wp-config.php settings are correct.

    It seems that the login is working however it doesnt direct me to the wp-admin page. If I reload the site I can get to the admin section via the "edit this page" on the bottom of any page

  7. nikc
    Posted 6 years ago #

    Yes, the redirect seems to be broken, or atleast crippled.

    If I access the admin via myblog.com/wp-admin it shows me the login screen regardless if I'm previously logged in or not, and always returns me to the login screen regardless of successful login or not.

    However myblog.com/wp-admin/ (with trailing slash) redirects correctly with or without authentication in between.

    IIRC this behaviour (requiring the trailing slash) wasn't there in previous versions. To non-techy users this is also a possible cause of confusion and desperation. (Witnessed with my gf.)

  8. paulrichardcook
    Posted 6 years ago #

    I'm not sure we can call this resolved, but nikc's fix worked for me. If I change the url to /wp-admin/ (with slash) instead of /wp-admin it seems to work.

    Alternatively, /wp-login.php (without the redirect behind it) seems to work as well.

Topic Closed

This topic has been closed to new replies.

About this Topic