FIX: Can’t Login To Wordpress After Upgrade?

Written by Chris on November 9, 2008 · Filed Under Wordpress Tips 

I recently upgraded one of my new blogs to Wordpress version 2.6.3. As usual, I used the Wordpress Automatic Upgrade plugin to do the upgrading work as it’s the easiest and time-saving way to perform a Wordpress upgrade in just few clicks. Now, one problem occured. I couldn’t login to the blog after the upgrade. It kept saying my user/password was incorrect. I reset the password and tried logging in using the new password, this time it just redirected me to the same login screen without flashing any error message. Nothing seemed to work after few attempts. I thought it was due to some confusion between the new and old cookie, so I cleared the cookie, and tried logging in again, but still it didn’t work. It kept redirecting me to the same login page although I knew the user credentials were correct.

I thought everything was screwed up and I might need to install the whole thing all over again. Installation is easy, but uploading files is going to eat up a hell lot of time. I googled and I tried all suggestions to no avail. It wasn’t a pleasant moment googling for the fixes and trying them all like a chump, until I came across bookchiq’s fix. This is the only fix that seems to work, so those of you who are facing the same login issue, look nowhere, use the fix below:

The Fix

1. Login to your web hosting account, or simply use your FTP program, and go to your ‘/wp-content/plugins‘ directory.
2. Rename the ‘plugins‘ folder to a different name, for eg. plugins-old
3. Clear your browser cookies and login to your blog again as usual
4. You will be prompted to upgrade your Wordpress database, go ahead and upgrade it
5. Rename the ‘plugins-old‘ folder back to ‘plugins
6. Login to your blog again

That’s it, you are now able to login to your blog again.

What’s the cause?

So, why did the login problem occur? What happened was, when I was performing the upgrade, some of the plugins were not deactivated properly. It interrupted the upgrade process and did not prompt to upgrade my Wordpress database. By renaming the ‘plugins’ folder, it helps to disable all the plugins and that’s when you can upgrade the Wordpress database with success and sort out the login issue.

 Print this article |  Email this article | Share or Save | Digg this
BlueHost

One Response to “FIX: Can’t Login To Wordpress After Upgrade?”

Comments
  1. commenter faliq on December 6th, 2008 1:20 am

    i can login after renaming the plugins.

    But the problem now, there was no prompt
    message to ask for upgrade.

    How to solve this? Is there any other way
    to force database upgrade manually?

    thanks..

    Chris: Try this How do you force a database upgrade?

    reply

Leave a Comment