Today I upgraded my personal franchise blog from WordPress 2.1 to WordPress 2.6.2. I know, what a big upgrade… To do so, I simply went to my webhost admin panel and used their one-click upgrade service. Within 2 minutes I received an email from my host telling me that everything went fine.
So I tried to go back to my blog admin panel but it would not let me in. Every time I entered my login and password, it would just go back to the login page. I tried typing wrong password and it would give me an errror message. Going back to the homepage of the blog, I realized it was showing me as logged in. Strange.
That’s when I decided to use my secret troubleshooting weapon…. Google (I know, it’s no secret weapon). I googled “can’t login to wordpress after upgrade” and I the first result thta popped up was a page on WordPress forum.
This is the solution I used:
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!
But this also seems like a good fix:
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:
- Using FTP, rename the
plugins
folder (at/wp-content/plugins/
) toplugins-old
- Log in as usual
- I am prompted to upgrade the database, so I click that button and it does
- Rename
plugins-old
back toplugins
- Log in again
Once I do that, everything seems to work.
If you’re having any login issue after updating WordPress, you may want to try any of the fixes.
13 replies on “Can’t login to WordPress after upgrading”
I went through that recently man.. It sucks! See if this helps: http://www.seosurvivor.com/change-is-good-but-it-can-cause-panic/
Hi Ricardo,
Thanks for your comment but I figured it out and added the fix to this post.
Sebastien
Just to say – ive renamed my plugins folder and went through the database upgrade and then renamed the folder back to plugins – and it all worked fine. Annoying and disconcerting problem.
@Nick – yes, that’s what I should have done. I’ll know for next time…
I just don’t update when a new version comes out, too much hassle.
Best Post Ever!!!!!
Thank you!
[…] https://www.sebastienpage.com/2008/10/14/cant-login-to-wordpress-after-upgrading/ […]
Thank you, you´re a lifesaver!
Hey, same thing here, same upgrade as well. Thanks for the fix. Bless you and bless Google for finding you.
[…] you’ve updated to a previous version before, you may have encountered issues such as not being able to login for example. As I was able to verify before, the most common problem comes from the […]
Tried all this and still cannot login to my admin panel. I don’t know what to do. Nothing works. Can’t get in. What a nightmare. I have thousands of people who use my site, and I am sitting here with my finger in my nose without no solutions. I hate this. Any ideas where I can turn next?
Thanks a lot! I was suffering this for a long time and I can’t identify the problem.
Thank you.
Just what I was searching for, regards for posting.