Blank page on posting data

patison - May 26, 2008 - 08:55

Hi all! I've developed my own theme. Now, on posting some data (e.g. on login, logout, save some modified blocks, etc.) I obtain an blank page, and i need to enter again the URL to access the page. What may cause that trouble?

Other theme

jeetn - May 26, 2008 - 08:58

Try doing the same thing using another theme. If that works then the problem lies in your theme.

that's right. this problem

patison - May 26, 2008 - 12:45

that's right. this problem appear only in my theme. but how can i fix it?

That theme may be having

ravi_9793 - May 26, 2008 - 13:03

That theme may be having some bugs...best way is change the theme.

Free Drupal Themes || www.TechHunt.org

You most likely have a

Oblivious - May 26, 2008 - 14:56

You most likely have a syntax error. If you cannot find it by eye, try some quick debugging.

First make sure all the expected template files are present and readable. If so, place something like

<?php
die('<h1>debug</h1>');
?>
in the middle of the suspect theme page. If you refresh the page and see the word "debug", that means your error comes after the point you placed the debugger code. Otherwise, it comes before. Move the debugger up or down the page by half until you find the bug. If you've modified multiple .tpl files (page.tpl, box.php and so on) you may have some work ahead of you. Start with the last modified page.

Wherever I put this code in

patison - May 27, 2008 - 12:47

Wherever I put this code in my page.tpl.php, I see DEBUG on my page... :(

 
 

Drupal is a registered trademark of Dries Buytaert.