Solution for Wordpress blank admin page

Wednesday, May 7th, 2008     (leia em Português)    (leer el texto en Español)

Recently I had to do the upgrade from Wordpress 2.2.3 to 2.5.1 in my Granadeiros Azulinos blog. After following all the steps of the detailed upgrade process - backups, disable plugins, copy new files, update and reactivate plugins, reapply customization of themes, etc.., the blog worked well in the new version! Great!

However, one strange problem: after creating new posts in the administration panel (Wordpress dashboard), or after leaving comments in the blog posts, I got a completely blank page. Afterwards, the problem got worse: the Wordpress admin panel became totally blank, nothing worked!

After a full day’s search, I had already tried several solutions and suggestions, but nothing … Changing themes, deactivating and uninstalling all plugins, physically deleting the plugins from their directory, even making changes in the Wordpress database. I was already tired, thinking that the problem could be related to PHP’s memory use. I was thinking about contacting my hosting provider to see how PHP was configured.

Suddenly I found, lost amid a tech blog’s comments, a simple suggestion that was crucial to solve my problem: to check whether my wp-config.php file had any blank lines in the end!

Unbelievable, but this was the problem: when doing the upgrade, I had some things changed in my wp-config.php, including the introduction of the new SECRET_KEY option. After the upgrade the file, I had left some white lines in the end, and those lines were responsible for the file not being loaded correctly by Wordpress PHP scripts…

So, the only thing I had to fix was, to remove the blank lines from the end of the file and GOTCHA! Everything was back in order again! Nice one!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • StumbleUpon
  • del.icio.us
  • Digg
  • Digago
  • EuCurti
  • linkk
  • linkTo
  • Mugg
  • Poliphonia
  • Rec6
  • Facebook
  • Google
  • Live
  • Mixx
  • NewsVine
  • Propeller
  • Technorati
  • Reddit
  • BarraPunto
  • Meneame

Rate this post:

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5 out of 5)
Loading ... Loading ...

4 Responses to “Solution for Wordpress blank admin page”

  1. Beto via Rec6 Says:

    Solução para painel de administração do Wordpress em branco…

    Uma solução para quando o painel de administração do Wordpress fica em branco devido à migração para a versão 2.5 …

  2. ms nasty Says:

    [...] [...]

  3. Nicolas Says:

    Thank you, you just saved me countless hours of struggling with this issue!

  4. Beto Boullosa Says:

    Nicolas, you’re welcome! :)

Leave a Reply