Hi all,
Well I'm a major drupal noob, I've been using it for about a week and it feels like slow going.

I've just run into a pretty annoying problem that whenever I edit or add anything, be it content or settings, I am taken to a blank page. If I hit the back button and then refresh the change or addition has usually been made, but obviously this is not ideal.

I've recently been getting tinyMCE + IMCE working together, I'm not sure if thats got anything to do with it. I've changed so much stuff lately I'm not sure what it could be. I did add some extra PHP info into the theme php, but everthing was working allright after I did that for a while.

Sorry for being such a noob I hope someone can help me out.

Comments

harrisben’s picture

A blank page usually means a php error. Try disabling the changes you made and see if everything is ok. If it is then you'll need to trouble shoot the php you inserted.

blue carrot’s picture

I just removed the PHP I inserted to 'template.php' on my theme, then I took the site offline for maintenance mode and cleared cached data. The problem is still happening except IMCE is no longer integrated with tinyMCE...so im thinking that it must be something different.

Any ideas? I'm stumped!

blue carrot’s picture

Also now if I try to run update.php, I get taken to a blank white screen with '' in the top corner. This is really frustrating. I'll be really thankful for any advice on this one!

This is the message I'm getting when I first log in:

* warning: Cannot modify header information - headers already sent by (output started at /misc/34/000/120/553/6/user/web/urbanorganics.org.nz/themes/garland/template.php:1) in /misc/34/000/120/553/6/user/web/urbanorganics.org.nz/includes/session.inc on line 101.
* warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /misc/34/000/120/553/6/user/web/urbanorganics.org.nz/includes/session.inc on line 104.

blue carrot’s picture

now it even goes to a blank page after i log in. i have to hit refresh before it will show me the logged in home page.

blue carrot’s picture

Pleeease really need some help on this one folks

blue carrot’s picture

Still having problems with this. I've disabled all extra modules like IMCE and tinyMCE and the problem is still happening. Any time a user logs in, or posts a forum topic etc, they are taken to a blank page. If you hit back and then hit refresh, the login / post has been successful.

Any ideas on things I can try would be great...this is really driving me nuts. Could it be some kind of user or admin settings?

harrisben’s picture

Have you tried switching to a theme that hasn't been modified?

kevster’s picture

I have this problem but when I switch to a standard theme it works fine - Im thinking its a change Ive made to a template file as the URL does not change on submit, I have to take the /edit off the url to see my changes...

UPDATE: Fixed it - check your template.php file for whitespace after the closing ?> I had two extra lines but when I deleted them all worked fine...

Drupal development | SEO optimised build

slimgrin’s picture

Thanks!

> I had two extra lines but when I deleted them all worked fine...

I would of never found this.

msumme’s picture

I had the same problem and I was pulling my hair out trying to figure out what could be causing it...

Who would have thought it could be as simple as whitespace after a closing tag?

Erik Sebesta’s picture

Same blank page issue. Had modified Template.php to test something and then removed the code after the test. Somehow the file differed from the backup version by a couple bytes. It wasn't a space at the end. Restored the backup and all is happy again.