Wordpress Logo

Conquering The Dreaded White Screen of Death (WordPress)

The scenario: You upgrade WordPress to 3.5.1.  All looks fine.  You think nothing of it, log out and carry on your day.  You try to log into your WordPress site the next day and you see a blank white page.  No admin area, no nothing.

You go to the front end of your website, and see the same.  The dreaded white screen of death. ARGH!

Don’t. Panic.

This happens from time to time, and the best thing to do is stay calm, and just keep Google-ing your errors and reading a lot of forums until you get your fix.  You’ll get there, it’s just perseverance.

When it happened to a client of ours, the dastardly cause was a failed upgrade to WordPress 3.5.1.  The upgrade was done through the WordPress admin area.  Sometimes failed upgrades can happen if a file corrupts during the upgrade, or fails to properly copy over, or if the connection drops out.

Now it’s time for troubleshooting mode.

  1. Switch on debug mode (there’s nothing worse than working with a blank webpage that is giving you no errors and no feedback).  In your wp_config.php file  change define(‘WP_DEBUG, false); to the below, or add the below line if it’s not already there.
    define('WP_DEBUG', true);
  2. Refresh your admin area and front end website and see what errors are now popping up.
  3. Google these errors and see what solutions are working for other users (the causes of the blank screen of death are so varied, that it’s best to learn from others experiences).
  4. Lather, rinse, repeat.

 

Now, here’s what worked for our client’s particular situation.  We had to piece together bits and pieces from other forums, but in after a LOT of investigation, reading and testing, hopefully the below will spare some of you the associated grey hair.

 

  1. Complete the first 3 steps above
  2. Via FTP, open the readme.html file that should be living in the root (along with wp-config.php, etc).  Check that the WordPress version in the readme.html file is the same as the one you were trying to upgrade to. NOTE: for security reasons the readme.html file should always be manually deleted following a successful upgrade.
  3. Download to your local machine the version of WordPress that is showing in the readme.html file above.
  4. Unzip
  5. Via FTP (Filezilla or similar), rename your wp-admin and wp-includes folders
  6. Copy your newly unzipped wp-admin and wp-includes folders over to your site
  7. Rename your wp-settings.php file
  8. Copy your newly unzipped wp-settings.php file over to your site
  9. Check if you can now access your site
  10. If yes, then hooray!  Switch off debug mode (see switching on debug mode instructions above), and enjoy the rest of your day, knowing that you took on the white screen of death and won, my friend.
  11. If no, then Google any errors that are still appearing and read through the forums for solutions.

Generally the causes are:

  1. Botched/failed upgrades
  2. Plugins causing havoc
  3. Templates causing havoc 

Persevere and ye shall be victorious!

This entry was posted in WordPress on by .

About Sara Thornton

Sara is a Jack (or Jill) of many trades. A web designer and developer, an ethical SEO implementer, an AdWords advocate, as well as being our in house user-guide creator and trainer. In her spare time she loves a bendy/stretchy yoga session, and feels most happy when she's near the ocean (ideally with a ridiculously absorbing book).

Leave a Reply

Your email address will not be published. Required fields are marked *