I've been having this problem every time I submit something it would just goto a blank screen. It goes to a blank screen for any kind of submit (post, edit, etc.). I'm not sure where to pinpoint this problem and how I can fix it. You can try it here and see for yourself:

http://chinatownicecreamfactory.com/drupal/?q=node/139

Just put in any email. it just goes to a blank screen.

Thanks

Comments

mkalbere’s picture

Hi,
Drupal is a high consumer of memory ressources, a got this problem once by a provider giving only 8Mb . Did you check your php memory_limit ? That could do the trick ;-)
(I would say minimum 16Mb, and 24Mb if you get the ecommerce or the view module.)

krisrobinson’s picture

I had ImageAPI, ImageCache and ImageField installed, and I kept getting the whitescreen while even doing non-image related things like saving content types, enabling/viewing the modules list, until I upped my memory_limit to 96M from the 32M it is set at by default.

Worked for me so far.

styro’s picture

is generally a PHP error message that doesn't get sent to the browser. You can configure error messages to get written out to the browser but for security reasons you only want that on your private development instance (where you'll get the most errors anyway) not your production instance.

To find out what went wrong when the error doesn't get sent to the browser, you'll need to look in the error log of your web server.

Once we know what the error is, we should be able to help solve it.

--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal

heine’s picture

Please use normal titles (so, minus the [x_x ]~).

Thanks.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

AjK’s picture

Yes, white screen of death is a pain. There should be an reason in your web servers error_log file. If you can't get that in your settings.php file add ini_set('display_errors', 1) and the white screen should now display the error message. (Don't leave that ini_set() in settings.php though, after you have your error message or fixed the problem you should remove it).

Basically, the white screen of death is to prevent your end users seeing the error and possible giving away private info in the error message you would prefer the world not to know.

generalredneck’s picture

I know this is an old post, but it happens to be on the top of the google results for "drupal every time I submit, white screen"

The answer for me wasn't that it was an error, but rather that white space was in my code. I found the answer here posted by cwd.

There's several things you can try. In our experience, the most common culprit is a space after the closing PHP brackets in your theme files. Open each theme file (page.tpl.php, node.tpl.php, template.ppl.php, etc.), go to the last line, and hit the delete key after the last character several times, until there's no more blank characters at the end.

Another thing to try is adjusting the header of your template to the following:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
print $language->language " lang=" print $language->language ">

Finally, in your template.tpl.php file, make sure there is only one opening and closing PHP brace (ie. at top, and at bottom).

When you've made all those changes, re-upload your files, and flush all your caches. Try editing a page, saving, and seeing if you still get the white (blank) screen. If you do, check out this thread on the Drupal website for more things to try.