1

Drupal – How to Diagnose a Blank White Screen: White Screen of Death (WSOD)

Posted July 10th, 2010 in Drupal, Web Development, Work and tagged by Mike Wagan

While developing a Drupal website, I was testing out the created pages and suddenly on one page, nothing was loaded. There was just a blank white page – more appropriately called the Drupal White Screen of Death or WSOD. First step I did was to enable error reporting because there might also be problems with the template I was customizing:

Temporarily edit your index.php file and add these lines at the top (after the first opening tag):

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

// $Id: index.php,v 1.94 2007/12/26…

Then I went back again to the blank white page and I saw that there were some syntax errors in my template. After fixing those errors in my template I deleted again that chunk of code to avoid others seeing diagnostic errors in the site.

It was a quick solution, but if that did not solve your problems, try checking out these links:

Related Posts with Thumbnails
Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • Netvibes
  • NewsVine
  • Ping.fm
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Buzz
  • BlinkList

Related posts:

  1. Improve Drupal Performance 400% using the Boost Module When developing Drupal websites, you will start to notice performance bumps when adding more and more modules to your site....
  2. 9 Tips for Improving Drupal Performance I’ve started working on a Drupal Project just last month and although the learning curve is quite steep, its also...
  3. How to Upgrade PHP to 5.2 in CentOS Developing a Drupal community site has been really good for a while until I needed to search a module to...
  4. Create multiple-step forms using CCK Fieldgroups in Drupal Lately I’ve been working on a Drupal project, and one aspect in our priority list is the user-friendliness for the...
  5. How to Install/Recompile MCRYPT in PHP (CentOS VPS) I’m starting to develop sites with the Interspire Shopping Cart system, which I think is totally way better than Prestashop....
  6. Search and Replace in MySQL I just went through a domain transfer for one of our websites, and the links in the posts are all...
  7. Allow Div Layers to Float over Flash, Youtube or Vimeo Videos For web designers, its always a constant struggle to get those flash, youtube, or vimeo videos tuck under divs where...

One Response so far.

  1. Prasad says:

    Hello,

    Your post was very helpful for me. I was able to read one of the error and fixed it.

    Thanks and Good Day,

    Prasad

Leave a Reply