Drupal – Tackle the White Screen of Death WSOD

During the Drupal development, sometimes you may find the white screen of death(WSOD) and you have no idea what’s happening. To tackle the WSOD, add the following lines in the index.php located in the Drupal webroot.

<?php

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

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

 

The PHP error will be thrown instead of white screen. If this could not solve the problem, visit the following link and you should find more details about WSOD in Drupal.

Reference: The White Screen of Death (Completely Blank Page)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.