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?

Comments

jeetn’s picture

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

patison’s picture

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

ravis’s picture

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

Free Drupal Themes || www.TechHunt.org

I work at Drupar.com

Oblivious-1’s picture

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 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.

patison’s picture

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