You're browsing: Home » HowTo, WordPress » Blog article: Blank page with WordPress… How to Fix that ?
Oct31st2007

Blank page with WordPress… How to Fix that ?

black-120×90.pngI got some WordPress problems with two websites that i lead but finally it works for me and now i want to share with you some tips about WP blank page problems. Anyway i have this CSS gallery that was offline since some time… i mean wp-admin pages works fine but front page was blank. This bug was after i migrate to another hosting company. So yesterday finally i found time to fix that bug. All off that i found on google or think myself.

Maybe this helps someone…. when you see blank page with your WordPress blog you can use my tips to find bug and fix that annoying problem.

1. Turn off all plugins
2. Change theme to another one (refresh/check)
3. Creates or/and update .htaccess file
(you can browse it by linux console for example)
4. Edit and save post, permalinks…. stuff like that
5. Update to newest version of WordPress
6. Check what PHP version you have
7. Check this out:
WordPress should compress articles (gzip) if browsers ask for them
… in my situation this fix my blank page error.
8. Check error logs if there is something interesting about your problem

This (point 7) helps me with my CSS gallery. But I also generate problem with SilenBits and it was blank too…. the problem solved when i use this fix:
2. Change theme to another one (refresh/check)

So good luck and no WordPress blank pages for you !

Related Entries

Subscribe

Keep updated with future posts by subscribing to SilentBits through RSS or email.

23 Responses to “Blank page with WordPress… How to Fix that ?”


  1. 1 Mittineague Oct 31st, 2007 at 5:54 pm

    For PHP errors, I find the easiest way to trouble-shoot when developing a plugin is to make a direct HTTP request for the file. eg
    domain.com/blog_dir/wp-content/plugins/pluginfile.php
    This way will show syntax errors and other PHP error messages.
    When the file is OK PHP-wise, you will then see errors like
    [WordPress-function name here] not found.
    For incompatibility problems though, deactivating and reactivating is the best way, especially now that WordPress “sand boxes” and will show a “could not be activated” message.
    And don’t learn the hard way. Back-up, back-up, back-up!

  2. 2 Peter Nov 1st, 2007 at 9:05 pm

    Thanx Mittineague for sharing, nice tip for any plugin problems.

  3. 3 Lucas Feb 20th, 2008 at 9:28 pm

    Thanx you! Point 7 fixed my problem :D

  4. 4 Peter Feb 21st, 2008 at 9:35 am

    Glad this helps :)

  5. 5 David Mar 4th, 2008 at 6:02 am

    Nicely done. Been searching forums and Google for 2 days and no one suggested disabling plugins. Turned out my “ShiftThis.net | Swift SMTP” plugin was causing the issue.

    Thanks for doing the “heavy-lifting” and sharing!

    David

  6. 6 Peter Mar 4th, 2008 at 9:50 am

    No problem, thx for sharing your comments.

  7. 7 Beto Boullosa May 8th, 2008 at 4:42 pm

    I had the other problem after upgrading my Wordpress to 2.5: blog pages were fine, but admin pages were blank.

    The fix was incredibly simple though:

    http://blog.boullosa.org/en/20.....em-branco/

  8. 8 Andrew May 8th, 2008 at 7:41 pm

    Thx for the tip. I am still afraid of 2.5 version and upgrade..

  9. 9 Peter May 9th, 2008 at 3:39 pm

    @Beto Boullosa thx for info !

  10. 10 Nick May 26th, 2008 at 12:39 am

    Thanks for the tips. Much needed for a busy teacher having student blogs turning up blank!

  11. 11 FurSid Jul 11th, 2008 at 11:59 am

    where do i find that
    WordPress should compress articles (gzip) if browsers ask for them

    plz give a reference

  12. 12 ghing Jul 21st, 2008 at 8:34 pm

    I am also having the same problem..

    the only think is I can’t access my admin page.. and I am not allowed to download Filezilla here on my workstation:(

  13. 13 local fella Apr 27th, 2009 at 11:03 pm

    Hi
    I have no clue about these coding stuff.

    How and where do you disable plugins if you only see a white screen?

    Regards

  14. 14 Michael May 27th, 2009 at 3:10 am

    Thanks. Step 2 did it for me. Somehow I had two versions of a theme, or some such problem. Great troubleshooting tips, it would have taken me forever to figure that out.

  15. 15 Jason Parker Jul 18th, 2009 at 4:01 pm

    Apart from problem with comments, people can also get a blank page on commenting because some of their comments are marked as spam by blog owners. Akismet sends a 403 error along with blank page in this case. You might want to check that out.

  16. 16 modernois Aug 14th, 2009 at 10:03 pm

    i solved this issue by removing every empty line in functions.php, inside my theme’s folder

  17. 17 Spicy Web Design Sep 7th, 2009 at 2:05 pm

    I had this very problem myself not too long ago. I almost had heart failure. Here’s what I did to fix it.

    http://www.spicywebdesign.com/.....lank-page/

  18. 18 Peter Sep 9th, 2009 at 1:17 pm

    Tnx for link.

  19. 19 eddie Oct 20th, 2009 at 10:03 pm

    check out the http error log before anything. in my case it was a dangling * in wp-config…

  20. 20 Robin Rowe Oct 22nd, 2009 at 8:35 pm

    A common cause of blank WordPress pages is including the header twice. Try removing get_header() and see what happens.

  21. 21 Jane Oct 26th, 2009 at 11:47 pm

    In addition to going blank when some comments are added some of the time, it goes blank when I change the admin email address!

    My blog is about 5 months old. Today I’m changing the default you@yourdomain.com to the actual email address, then it all goes blank.

    Any ideas here?

  22. 22 rc Oct 31st, 2009 at 10:27 pm

    So, My page goes blank because of the custom theme I am building…(the default theme everything works fine). What are some tricks to debugging that problem. Thanks!

  23. 23 Peter Nov 5th, 2009 at 9:13 pm

    I upgrade this post and published it here: http://wpnoise.com/10-tips-how.....lank-page/ !

    Tnx for every comment here and hope to see you there also..

Comments are currently closed.


    XHTMLiT.com - PSD to XHTML in 8 hours
    wordpress design blog
    free vector wallpapers

Add link to SilentBits