By craigdurling on
When I click on the status report (/admin/logs/status) I see a white screen. I also see a white screen when I visit the general admin page (/admin), however all other admin pages are accessible.
Does anyone have any idea what might the cause might be?
Comments
=-=
typically lack of memory on the server because your memory setting is too low in php.ini
white pages are apache/httpd errors check your apache logs for the exact error being thrown.
other sites OK
I am running other drupal sites on the same server and I have no problem accessing the status report for those sites but the other sites I speak of are fairly small and have low traffic volume. It is possible the php.ini file would need to have a higher memory setting for just one site if it is a larger database with more content? How do I determine the optimal memory setting? Sorry but I have never had to adjust php settings before.
=-=
modules consume memory. if all the sites you are building are on one account on your server they may all be sharing the same memory alottment.
optimal memory changes based on the amount of modules being used.
You don't mention which version of PHP is in use. I believe PHP5 is set default at 32M PHP4 is set at 8M though shared hosts have been known to cut both of those numbers to squeeze more accounts on a server.
Though, I wouldn't look to adjust anything at all until you get hold of the exact errors being thrown by checking the apache logs.
Not sure if these relate
I'm not sure if these errors relate to my problem or not as I've never really looked at apache logs. Do these look like anything of note to you?
-bash-3.1# tail /var/log/httpd/error_log
[Sun Aug 03 13:42:24 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:45:43 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:45:44 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:45:45 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:46:03 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:46:04 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:46:05 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:46:06 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:47:23 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Aug 03 13:47:24 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
-bash-3.1#
I am using PHP Version 5.2.3 and the php.ini limit is set at 32mb.
Adjusting php.ini worked
Upped the memory limit and the white pages stopped appearing. Thanks.
Can't
Apparently my PHP is not compiled with the option to increase memory. I changed php.ini and restarted Apache and this still came out.
I then disabled a bunch of modules and am still getting it.
NancyDru (formerly Nancy W. until I got married to Drupal)
NancyDru
=-=
check .htaccess
does it have included:
If not you may want to try and add that in there. It seems a common fix for this type of problem based on my search of the error on google.
I also found this: http://www.thelinuxblog.com/apache-directory-index-forbidden-by-options-... which may be useful.
Thanks
I had the standard Drupal .htaccess with Options -Indexes. I changed it and so far don't see any more of these.
NancyDru (formerly Nancy W. until I got married to Drupal)
NancyDru
I have the exact same urls
I have the exact same urls returning white screen (admin page and status report).
Upped php memory to 80mb
still no change.
Am on drupal 6 with PHP Version 5.2.9
I notice on my web server's phpinfo page that there are two columns for values, local and master. The local side is set to 80mb, which is what I have changed via my .htaccess page, but the master value is still at 24mb. Could this be a factor, I don't understand the difference between the two.
TIA,
Renaee.
solution
connected with this issue?
http://drupal.org/node/295854
anyway, white screens gone now, don't know why exactly, sorry not much help to others with same issue.
renaee.
Ensure your host is running compatible version of PHP
I thought I would add to this thread as it was the first result of my search for a blank Drupal status page.
The PHP requirements for Drupal are (http://drupal.org/requirements):
Drupal 5 and 6: 4.4.0 or higher (5.2 recommended)
Drupal 7: PHP 5.2.5 or higher (5.3 recommended)
I am maintaining a site running Drupal 5. It will run mostly fine on PHP 5.3, but the admin account page will not list history/registration date info and the status page will be a blank page. In your logs you will likely find PHP errors about the function ereg() being deprecated.
For Drupal 5 the easiest fix is to roll back to the recommended version of PHP. In this case I reverted to PHP 5.2.8 and everything works as expected.
Here is an thread regarding others who are trying to roll php back PHP for XAMPP:
http://stackoverflow.com/questions/1302168/using-xampp-how-do-i-swap-out...
Don't forget that Apache under PHP 5.2 and Windows will require some DLLs (i.e., libmysql.dll) in order to have PHP and MySQL connect.
Possible Solution
I encountered the status report WSOD after upgrading to PHP 5.3.
After upgrading the Drupal core from 6.8 to 6.22 the problem went away.
Hope that info helps.
Timeout?
Had a similar problem after updating from 5 to 6. Tried the image fix but didn't seem to do anything. However it was in a connecting state for around 30 secs, checked the PHP timeout for a script, 30 secs, updated that to 90 and it works. This is on a local test site on my home PC and my broadband is slow, seems to take around 30-35 secs to make the connect.
believe it or not
sheetnode created the same problem for me, even the status report was white...
so i went thru ftp and changed the rights of the folders (TCPDF & PHPExcel) and gave them full rights... (which opens a security hole)
...no white screens anymore the status report was finally clickable and said that PHPExcel cant be found at that locations so i changed also the folder rights and tata everything works ... didn't had to change the limit of apache.
..how crazy...?!
PHP 5.2 - 5.3 compatability issue with Drupal 6.x
This is likely a PHP 5.2 - PHP 5.3 issue seen when updating Drupal 6.x.
It was resolved when updating core from 6.13 to 6.16.