Drupal Blank Page

Tagged:  •    •  

When setting up a drupal site and you encounter the infamous blank page problem, i.e all you get is a blank page...

It is really helpful to find out what errors are being generated on your server.

On a OS X 10.4.8 Mac, I opened a terminal window and input the following, one command on each line.

cd /
cd var/log/httpd
tail error_log

In my case, I was getting a fatal php error due to coming up against a memory limit in php. If that happens to you, go to your settings.php file and add the following in the section with all the other php directives.

ini_set('memory_limit', '24M');

But check your error log to make sure you are fixing the correct problem!

Thank you amber, I just tried setting the memory_limit like you're suggested and it works like a charm. I've been trying to figure this for hours as I don't have access to SSH nor the error logs, until I read this post :)

Regards,
/Wiras

amber, thank you so much. this post saved my life just now.

-v

Many thanks...
my case was just a syntax error in the settings.php

Thank you mate!
I Have experienced the same problem.
I was getting crazy!