By patison on
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
Other theme
Try doing the same thing using another theme. If that works then the problem lies in your theme.
that's right. this problem
that's right. this problem appear only in my theme. but how can i fix it?
That theme may be having
That theme may be having some bugs...best way is change the theme.
Free Drupal Themes || www.TechHunt.org
I work at Drupar.com
You most likely have a
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.Wherever I put this code in
Wherever I put this code in my page.tpl.php, I see DEBUG on my page... :(