Support » Fixing WordPress » Version.php causing wp-admin lockout w/3.4.1 upgrade

  • Resolved Kikster


    When I try to auto upgrade to 3.4.1, I get locked out of my admin page, and have to restore the old files to get back in.

    After going through this process several times, I narrowed the “problem” folder to the wp-includes, and then the problem file to version.php

    If I upgrade, then restore only this file, then I can access my dashboard again. I’ve checked mySQL (5.0) and PHP (5.2.4) versions and they are at recommended versions or above.

    I’m not sure what this means, or what I am supposed to do to be able to upgrade.

    Any help would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kikster


    Hate to bump my own topic, but after 4 days, posts are solidly buried, and I don’t want to hijack another post. Can anyone explain to me what I should do?

    I’m not the most tech-y person, so I’ve just been avoiding the upgrade.




    Forum Moderator

    Do not over-write core files with older versions! If there is a problem with version.php, then it suggests that the upgrade was not successfully completed – which opens up a whole host of other troublesome possibilities.

    – backing up your database.
    – switching to the Twenty Eleven theme.
    – deactivating all plugins
    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.
    – running the upgrade manually via wp-admin/upgrade.php



    Thanks for your help.

    I only restored the wp-includes folder so that I could access my dashboard. I wasn’t aware of another option, and I saw that suggestion on here. And restoring it was how I found where the problem folder was, as I had no idea where to start.

    Is this something that should be done during a less traffic time, I assume? My original installation was a “one-click” job via my host, so I’ve never done a fresh installation before.

    Quite frankly, it scares me.

    Thanks again.



    Forum Moderator

    You aren’t doing a fresh installation – just an upgrade. It should only take a few minutes at most.

    Was able to upgrade from my Godaddy account, and have been doing it that way each time. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version.php causing wp-admin lockout w/3.4.1 upgrade’ is closed to new replies.