If you’re using Drupal you are one day bound to come across the infamous ‘white screen of death’. Errors are probably cropping up, they’re just not getting displayed.

Add this code to the very top of your index.php file in Drupal’s root directory:

<?php
error_reporting(E_ALL);
ini_set(‘display_errors’, TRUE);
ini_set(‘display_startup_errors’, TRUE);
?>

At least now you’ll be able to tell what’s going on!

0 comments

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>