Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

Drupal page blank/white

Apr 14, 2012 by coolguy
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

thanks

1 Answer

0 votes
Apr 14, 2012 by lightSpeed
hi..

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