giza: Giza White Mage (Default)
[personal profile] giza
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.

(no subject)

Date: 2006-11-06 09:25 am (UTC)
From: [identity profile] balinares.livejournal.com
Oh, since you're bringing it up -- how DO you intercept this class of error to report it cleanly? This has been a pain in my ass for a while now. :(

(no subject)

Date: 2006-11-06 04:06 pm (UTC)
From: [identity profile] giza.livejournal.com

From the PHP code? I'm not sure if that's possible. :-/

(no subject)

Date: 2006-11-06 06:07 pm (UTC)
zeeth_kyrah: A glowing white and blue anthropomorphic horse stands before a pink and blue sky. (Default)
From: [personal profile] zeeth_kyrah
I suspect that Apache or some extra log-watching process would have to catch the error (if it even returns one), and I'm not sure that there's a clean or efficient method for doing so.

Profile

giza: Giza White Mage (Default)
Douglas Muth

April 2012

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags