Blank pages in Drupal

Ever get blank pages in Drupal? I figured out that sometimes it's merely a memory issue. When a PHP instance (being run out of an Apache child) runs out of memory, it just quits silently and doesn't send anything back to the web browser.

The fix for this is to put the following line at the top of index.php:

ini_set("memory_limit", "16M");

If that fails to fix the problem, try increasing the memory.

Average: 2.3 (3 votes)
Your rating: None