admin page (and others) white screening
cybroc - May 16, 2008 - 11:09
hello,
I have had Drupal installed for about 3 months and all okay until the past week when some pages have started not showing.
The most recent is the admin page which is obviously a major problem. Also when I have made changes and saved the
confirmation page will not show.
Any ideas or suggestions anyone?
Thanks in advance.
CC

Whitespace?
This is a classic sign that there is whitespace being printed before Drupal has set up the http headers. Are you getting any error logs? If not, make sure that you have these turned on. There is usually an error similar to "output started xxxxxx", that should allow you to see which file is causing the problem.
A classic example is: (quotes wrap the page's content)
"<?php// code
?> "
That single space after the
?>can kill a page. Notice that the ending tag is not required, and the Drupal coding standards actually suggest that you do not even add it.For example:
<?php// code
Hope this helps
Alan Davison
www.caignwebs.com.au
Whitespace
Thanks for your reply and advice Alan.
The error logs report a memory issue so going to increase the php memory in the php.ini file.
If still having problems will try your suggestion. How do I go about getting rid of the space before the " and after the ?>
Thanks again.
CC
If you do a "select all" on
If you do a "select all" on the page, the whitespace will highlight itself. It is better just to delete the "?>" tag. I have come across an encoding issue once, utf-16 file, that inserted an invisible character after the closing tag.
You would only need to check out the files that you have edited yourself. Any modules from Drupal should be fine. A memory error would definitely be the most likely cause, lol.
Good luck
Alan Davison
www.caignwebs.com.au
This is almost always
a php memory issue that is fixed by increasing the memory allocated to php.
I've had it and when I researched it all of the old posts said the same thing.