Okay, so I'm building a community website for Warhammer Online. Right now I have the following modules enabled:
VIEWS
Views 6.x-2.0-rc1
Views exporter 6.x-2.0-rc1
Views UI 6.x-2.0-rc1
USER GOODIES
Signatures for forums 6.x-1.0-alpha1
User Stats 6.x-1.0-alpha1
SMILEYS
Smileys Import 6.x-1.0-alpha1
Smileys 6.x-1.0-alpha1
OTHER
Advanced Forum 6.x-1.0-alpha2
Quote 6.x-1.1-beta
Taxonomy Access Control Lite 6.x-1.2
Token 6.x-1.11
Token actions 6.x-1.11
IMAGE
Image 6.x-1.0-alpha2
Image Attach 6.x-1.0-alpha2
Image Gallery 6.x-1.0-alpha2
CORE
Aggregator 6.3
Book 6.3
Color 6.3
Comment 6.3
Database logging 6.3
Forum 6.3
Help 6.3
Menu 6.3
Poll 6.3
Profile 6.3
Statistics 6.3
Tracker 6.3
Trigger 6.3
Update status 6.3
CCK
Content 6.x-2.0-rc5
Content Permissions 6.x-2.0-rc5
Content Taxonomy 6.x-1.0-beta1
Fieldgroup 6.x-2.0-rc5
Number 6.x-2.0-rc5
Text 6.x-2.0-rc5
All I *want* to do is enable "PHP Filter" at the moment. But the problem is if I try to enable another module it goes to a blank white screen at url "http://www.example.org/admin/build/modules/list/confirm" and i have to go back to "http://www.example.org" again in order to be able to access anything. Going to "http://www.example.org/admin" results in a blank white screen as well.
I've tried some Googling and to search these forums but they all seem to be issues using a php snippet. I haven't even GOTTEN that far yet and I'm already getting white screened.
Any ideas? Is there anything that can limit the number of modules you can have enabled? I tried enabling "Books" as well with the same result.
Comments
you probably need to
you probably need to increase the memory limit in your php.ini file.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
It could be the number of
It could be the number of modules you have installed but I doubt it. You don't really have that many enabled. Many times when I'm working on a Drupal site and I get blank white pages it usually is because php is throwing an error but the error message is being suppressed. Try adding the following two lines to your .htaccess file
php_value display_errors 1
php_value error_reporting 2039
try disabling modules
It could have been a particular module causing you hassle.
Try and retrace your steps, to isolate which module may be causing the trouble.
You can disable modules manually:
http://drupal.org/node/157632
Mind which modules you disable. Like, don't disable CCK if you have fieldgroup working. (disable all CCK-dependent themes as well as CCK)... and I'm not sure if it's possible, but don't disable core modules either.
I had a white screen of death- and it was caused by a conflict between two modules. Both of which worked fine on their own, but when combined made a drupal-deadly combo.
So try enabling each module, one by one, and see where the error happens- to find your culprits.
Good luck!
All good suggestions but
All good suggestions but getting the error messages to show will point him to the exact line of code within the module that's causing the problem. Also, getting the error messages to show could save a ton of time later if/when it happens again.
ah! good point,
hey, der, you should add your advice to the Troubleshooting Handbook page.
http://drupal.org/Troubleshooting-FAQ
Specifically, the one on the blank pages:
http://drupal.org/node/158043
Okay first off, thank all of
Okay first off, thank all of you for giving me a hand here. Second I did some digging around. Found a log full of pretty much just this line (few other minor things):
[16-Aug-2008 00:58:02] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 787099 bytes) in /home/phewson/public_html/includes/database.mysqli.inc on line 303At least, its mostly full of that. The only other thing in the log is lines similar, but always different to this:
Looking at my database.mysqli.inc file:
* Line 303: Just a blank line. Hit enter in notepad and you get the same thing.
* Line 128: Part of an If/Else statement:
trigger_error(check_plain(mysql_error($active_db) ."\nquery: ". $query), E_USER_WARNING);So this looks like it could be a database error? I'd say its the PHP memory size, except for that is 32MB and none of the bytes involved seem larger than what is supposed to be necessary. Any thoughts, or is this strictly the PHP memory size?
EDIT: I think I should note that I cannot seem to DISABLE any modules either. I get the same results. This has me leaning on the db issue.
they are 2 separate
they are 2 separate issues.
WSOD (http://drupal.org/node/158043) is a memory issue in your case. Up your limit. You're using a lot of modules, and once you start adding data (esp. like picture processing), you're in for trouble.
mysql gone away - (http://drupal.org/node/259580). this probably has to do with huge blocks of information trying to be passed back and forth.
- Corey
It was a Database issue
Looks like my suspicions were correct. New webhost so it took me a while to figure out how to do it, and I'm new to Drupal, but I did a check on my db. Found 2 sessions still open on watchdog. Did a Repair and PHP Filter was enabled when I went to Modules to try enabling it again. Looks like something was hung up accessing my database. No idea what as I've been doing a lot of changes in the last 2 days.
Thanks for the help all!