amber's blog
Drupal Blank Page
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!
How to ... Day One
After fighting with apache, php, drupal and phpadmin just to set up a drupal testbed on my G4 Mac running 10.4, I decided I needed a place to "log" all my fixes.
So a blog is born ... Welcome to Amber's Blog!
