Hello!

I've just installed Drupal on a new web server. I am experiencing some major mysterious error...

Every time I hit a submit button, like when I save a new page, or save the site information it returns me a big white blank page.. Whatever I do is saved though...

I have never seen this before. Any one know what to do?

Comments

DavidWhite’s picture

Hey,
Welcome to Drupal. What you are experiencing is a White Screen of Death. Check out this link for some troubleshooting hints: http://drupal.org/node/158043. Right off the bat, you should check your php error logs. If you can get to it, you should also check the watchdog logs (inside Drupal), located at /admin/reports/dblog.

What version of PHP and Apache are you running? How much memory does your web server have, and how much memory is allocated to PHP?

Good luck,
David

Hawaiipersson’s picture

Thanks for the response...

I receive the error:
Cannot modify header information - headers already sent by (output started at /home/u/u2971831/www/newStg/sites/default/modules/stgcontact/stgcontact.module:1) in /home/u/u2971831/www/newStg/includes/common.inc on line 345.

I first thought that the reason had got to do with a missing MySQL table for the module creating a hidden error somewhere, that I've made myself. However, that is now fixed.. And there are no more sql-errors in the log...

Anyone got a clue?

rjdempsey’s picture

What module is that, stgcontact? I'm not familiar with that module. Perhaps you should check the issue queue for the module.

Hawaiipersson’s picture

Well... The issue queue is short and easy to read. It's all in my head... I've made the module myself.

Whats weird is that I don't get this error when running it local on my own server.

There is no output at the beginning of the file. In fact, there is no direct output in the module at all. Only returns from functions.

Could there be some more "hidden" outputs? And if so - how would I find them?

Hawaiipersson’s picture

Well... Notepad++ is great in a lot of ways. For programming drupal modules however...

I changed the encoding of the module-file from "UTF-8" to "UTF-8 without BOM". Can someone tell me what BOM is?

Did the trick any way...

nnevill’s picture