Drupal page blank/white

asked Apr 14, 2012 in Website Builder by coolguy (440 points)
Hi all,

I'm Using Drupal to build a website, and I'm having a hard time knowing what errors or problems I have during coding and styling template, and I would just have to keep guessing and try different things and that takes me a long time. I just get a blank or a white page, every time there is a problem.It would be just so much easier if I can get error messages that tells me what's the problem. How can I make my Drupal show error messages? please help


1 Answer

0 like 0 dislike
answered Apr 14, 2012 by lightSpeed (2,420 points)

This could be fixed by editing your index.php in your Drupal sites by adding this code at first line after <?php :
<?php :
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);