Like the title says, I'm getting the WSOD (white screen of death) when going to any admin page. This just started happening when I arrived this Monday, Friday it was working fine.
Here's what I've tried
Checking php settings:
memory_limit 5000M 128M max_execution_time 600000000 600000000 output_buffering On 4096 output_handler mb_output_handler no value Connection: 300 - Keep-Alive: 15 default_socket_timeout 60 memcache.default_timeout_ms 1000 1000 mysql.connect_timeout 60 60
Added error reporting to index.php
error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE);
Check drupal watchdog and apache logs
No errors
Check disk space on web server and database server
Plenty of space
Ran command to find any PHP errors
find /data/ -type f -name "*.php" -exec php -l {} \; | grep -v 'No syntax errors' find /data/ -type f -name "*.inc" -exec php -l {} \; | grep -v 'No syntax errors' find /data/ -type f -name "*.module" -exec php -l {} \; | grep -v 'No syntax errors'
Errors: None
Clear cache table
TRUNCATE TABLE cache; (anything that started with cache)
- Restarted web server
Disabled all themes, only enabled garland theme and set it to default
update `system` set status = 0 where type = 'theme' UPDATE system SET status=1 WHERE name = 'garland'; UPDATE variable SET value='s:7:"garland"' WHERE name = 'theme_default'; Truncate cache tables
- Disabled all modules and re-enabled them 1 at a time. I started with user module, it displayed errors on the screen regarding system module. I enabled system module and then I got WSOD again.
UPDATE:
I set the admin_theme variable to garland. Then the page work. When I went to admin/build/themes
and enabled marvin, I got the WSOD. Even re-disabling marvin and clearing the cache tables, I still get the WSOD.
The issue that was causing it for me was that I had _theme function with no code inside.