This evening, I was introduced to the Drupal phenomenon referred to as the “white screen of death”. And I panicked…
While enabling some new modules I uploaded to my web site, I was suddenly confronted with a completely blank white screen when I clicked on the Save Configuration button. I tried reverting back to different file paths, both on the admin interface and the public one, with no luck, even after clearing the cache and trying different browsers.
First thing that came to mind was the my database had been corrupted, but when I accessed the MySQL tables, all seemed fine.
So, I hopped over to the Drupal web site, and searched for web site troubleshooting/support literature. The section of blank pages and missing content caught my eye, which led me to a whole series of articles about my situation, and I realized I wasn’t alone in experience this problem, commonly referred to as the “white screen of death.” Fortunately, my web host allows me full access to my PHP logs and .ini file, so I was able to activate the on-screen error logs for all PHP errors (instead of just funneling reports of fatal errors in the logs). The minute I tried reloading my web site, I got a PHP parsing error that directed me to the offending Drupal module. After removing the module, all is well. Disaster fixed.