Solution for Wordpress blank admin page
Wednesday, May 7th, 2008Recently 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!






















Email subscribe
May 7th, 2008 at 21:02
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 …
May 11th, 2008 at 7:12
[...] [...]
June 9th, 2008 at 18:35
Thank you, you just saved me countless hours of struggling with this issue!
June 9th, 2008 at 19:00
Nicolas, you’re welcome!