Forums

[resolved] Can't log in after upgrade from 2.5.1 to 2.6 (49 posts)

  1. jakkal
    Member
    Posted 1 year ago #

    BTW, is there a way to mark this not resolved?

  2. alinush
    Member
    Posted 1 year ago #

    Was anyone able to find a solution to this?

  3. trisweb
    Member
    Posted 1 year ago #

    Also just noticed this problem - happens on Firefox3 and IE7/8 and Opera, etc. on a blog that's been around for years and was just upgraded to 2.6.2. It just brings me back around to the login screen without an error (an error does show if I use incorrect creds).

    I second the motion to mark this support issue as not resolved, and also bring it back as a bug, as clearing cookies and using different browsers has no effect.

  4. trisweb
    Member
    Posted 1 year ago #

    Update: My solution was to disable all plugins (I had to do it by moving them out of the plugins folder manually), then I was able to log in. I re-enabled plugins one by one after upgrading, but it seems things are working now even with most of the plugins back. Give that a shot if you're still having problems.

  5. jakkal
    Member
    Posted 1 year ago #

    I finally tracked this down to either an old version of Askimet, or one of two files in my plugins folder I hadn't seen before: "wp-db-backup.old" and "wp-db-backup.php." Getting rid of those and updating Askimet (which I hadn't updated in a long time thanks to never overwriting the wp-content folder) seemed to do the trick.

  6. deantina2
    Member
    Posted 1 year ago #

    - Clean your browser cookies.
    - Make sure that the URL you use to login is the correct one.
    - Use a diffrent Browser

    All of which have worked for me when updating versions and I encountered the same problem.

    Thanks

    South Parkholme

  7. isaacwcom
    Member
    Posted 1 year ago #

    After a lot of forum searching, I finally found a solution that worked for me: disabling WPAU. However, I think there's a deeper issue at hand... I documented my experience here:
    http://forum.techie-buzz.com/topic.php?id=86&page&replies=3#post-197

  8. alinush
    Member
    Posted 1 year ago #

    WOW, I finally found the problem!

    open wp-login.php

    find the following 2 lines and comment them:

    if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
    update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );

    This is in 2.6.2

    After commenting these lines I was able to login

  9. amnesiak
    Member
    Posted 1 year ago #

    the solution for me was to rename the plugins folder.

    Sign in,

    Then rename the plugins folder back.

  10. djskyler
    Member
    Posted 1 year ago #

    Well, I've tried all of your clever fixes but no go here. It seems I am in fact logging in, but my newly upgraded WordPress 2.6.2 is now unable to take me to the admin page, so it just loops back to the login page. I can not get to my dashboard, so at this point I am just going to have to strip it down and rebuild the site.

  11. MissComaDoll
    Member
    Posted 1 year ago #

    I had this problem after I updated my WP. Tried everything... cleaning out the cash, the cookies, changing the admin password, making changes in the wp-login.php, making changes to wp-config.php.

    The last thing I tried was to clean out all of my plugins, deleting them from my ftp (after downloading everything to my computer!) and then when I tried to login I got a message that my database neded uppdating because it didn't "fit" to my wordpress installation. An now... I can login!

  12. snizz
    Member
    Posted 1 year ago #

    I spent hours, HOURS (!!!) trying all of these solutions like a chump. I am essentially clueless with backend code or any sort of database creation, so this (in retrospect) was actually a simple/obvious fix if I had understood what I was doing--I figure some of you must be as dumb as me, so this might help:

    I had created a MYSQL database last year for an old WP site, which I then ended up not using, so there were pre-existing tables that I didn't think much of. When I returned, wanting to install an entirely new blog, I deleted all of the old WP files, and did a cold install of the new release.

    Then I almost punched myself in the face for a few hours trying to figure out why the login page would just redirect me back to itself. I tried every fix in the forums and beyond, obviously.

    The problem was I had forgotten to erase the php database that had been created by the old blog. To fix this, all I had to do was follow these (devastatingly simple) steps:

    http://wordpress.org/support/topic/127308

    Then I went back to /wp-admin/install.php, followed through with the process, and everything worked perfectly. Can't hurt, right?

  13. Johnwennerberg
    Member
    Posted 1 year ago #

    Update: My solution was to disable all plugins (I had to do it by moving them out of the plugins folder manually), then I was able to log in. I re-enabled plugins one by one after upgrading, but it seems things are working now even with most of the plugins back. Give that a shot if you're still having problems.

    This solved my issue too. Try it if you haven't.
    Upgrading to 2.6.2 is the worst experience I've had this week.

  14. nick12345
    Member
    Posted 1 year ago #

    deleting all plug-ins using my ftp also worked to resolve this issue ... (three hours later. sweet.)

  15. bookchiq
    Member
    Posted 1 year ago #

    I'm having this problem when upgrading to 2.6.2 with Fantastico. Here's the process that's been consistently working for me to correct it:

    1. Using FTP, rename the plugins folder (at /wp-content/plugins/) to plugins-old
    2. Log in as usual
    3. I am prompted to upgrade the database, so I click that button and it does
    4. Rename plugins-old back to plugins
    5. Log in again

    Once I do that, everything seems to work.

  16. guygurari
    Member
    Posted 1 year ago #

    For me the problem was the 'Private WP' plugin. I upgraded it to 1.1 using the automatic upgrade (from the dashboard) and the problem was solved.

  17. momontherun
    Member
    Posted 1 year ago #

    I took bookchiq's advice and it worked like a charm!

  18. hbalagh
    Member
    Posted 10 months ago #

    thanks, this worked for me as well, just a hassle that i had to re active my plugins (having to pick out which ones were active and which were not)

  19. webdesignshowroom
    Member
    Posted 5 months ago #

    Hi. I'm sure you'll all thank me for this! The problem is not cookies or cache as some would believe. It is with the .htaccess file in your root directory. Wordpress seems to get confused and won't let you login.

    Here's how to fix the situation:

    1. Delete the .htaccess file from your live site

    2. Login in to your site and go to 'Settings' and make sure you've got 'www.' infront of both addresses of your blog.

    3. Logout properly

    4. Re-upload your .htaccess file on your live site in the root

    5. Now go to your blog and login!

    This worked for me and hopefully for you and will save any heartattack moments after upgrading.

    Love to all

    Paul

Topic Closed

This topic has been closed to new replies.

About this Topic