Support » Fixing WordPress » Can't Login after PHP & MySQL update

  • Resolved verbob


    WordPress v3.7.1

    My host recently updated PHP and MySql to:
    PHP – 5.4.22
    MySQL – 5.5.32

    Website works fine, but getting a white screen after clicking “Log in” on the wp-login page

    When I view the ‘source’ code of the white screen, its a single character – a period “.”

    I have tried renaming all but the default theme. result – ENTIRE site is a white screen.

    I tried renaming all the plugin folders. No help.

    Any other suggestions? Would the changed versions of PHP/MySQL be the cause of this?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Renaming won’t work. WordPress looks at the files inside the folder. For themes it looks at style.css, for plugins it looks at pluginname.php

    Make the plugins folder not readable, chmod to 000

    Check if the login page comes up

    If not, go to themes, make your default theme folder not readable, chmod 000 the directory of your current theme. This will make WP revert to the default theme.

    Try setting debug mode as true for wordpress and see what comes in your debug log file.

    J. Di Gioia


    I am having the exact same issue, although I’m no where near as tech savvy to understand how to make this fix work.

    After updating the database through my host, I can no longer log in through the admin page; once I do I get a blank white screen. I can get into some of the admin section by clicking the Edit button on one of my blog posts, but the second I try to make a change (like disable all plug-ins), I get the blank white screen again.

    I am afraid of making a bigger mess of this than it already is.

    Any help??

    You need to use FTP or Cpanel to deactivate your plugins and possibly the theme – find the files on the server and rename them:


    If that does not work, rename your active theme:

            your theme currently in use.HOLD

    J. Di Gioia


    I renamed the plug-ins folder as was able to log in. Found another support article that suggests copying the plug-ins one by one to a new folder and see which is causing the issue. That sound like a good plan of action?

    Yep, excellent plan :)!

    J. Di Gioia


    I’ve found a php file in my original plug-ins folder that’s named index.php; when I open it with Espresso to read it, the only gthing in it is:

    // Silence is golden.

    It’s date is 3/8/2012.

    This seems a little sketchy to me.



    Forum Moderator

    That’s perfectly OK.

    J. Di Gioia


    I’ve just finished importing each plug-in one by one to the new folder, and everything is still working fine. Thanks for your support and help through this!

    I hope this helps others navigate this upgrade, too.

    Glad you got it resolved. And thanks for hijacking my thread LOL.


    Disabled all plugins – no change
    Disabled active theme – got white screen on main site as well

    Enabled Debug mode – only showed a deprecated function (something about sidebar on main site, which irrelevant on admin panel. no errors/warning about admin panel)

    And by the way, I DO get the login page, just goes to white screen when I enter credentials and click “log in”

    Have you checked your theme’s functions.php file to make sure there are no empty spaces at the top or bottom of that file? Check wp-config.php in the main WP folder as well.

    Ok, just did that. No spaces there in the themes functions.php

    HOWEVER – in the WP-Config file, there is no “?>” at the end… (to note: there isn’t one in the ‘sample’ config file either, is that normal?)

    added it, but no difference

    Disabled active theme – got white screen on main site as well

    Do you have a default theme in the themes folder? You should always have the current default theme (unmodified).

    Yes. I even re-uploaded that entire theme folder from a fresh download of 3.7.1

    Have you tried replacing all files and folder EXCEPT wp-content, wp-config and .htaccess from a fresh download of WP. Be sure to delete the old versions before replacing with the new ones.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Can't Login after PHP & MySQL update’ is closed to new replies.