Blank page after login, logout, posting,...

Tim99 - November 29, 2007 - 09:25

Hello,

I installed Drupal 5 and currently I am developing my own custom theme. Since yesterday there is a weird problem: When I fill out a form, log in or off or simply do something that triggers an action (other than simply surfing the content) I only see a blank page.

The action is performed (e.g. posting a blog entry), but I can't see anything. The received source code is completely empty. Anybody an idea how to proceed?

Found the error: That was my

Tim99 - November 29, 2007 - 09:55

Found the error:

That was my template.php:

<?php
  
require_once('gallery_addon.php');
?>

Blank line
Blank line

I removed the blank lines and now it works. Why is that so? The Drupal Handbook says I should even leave out the closing PHP-tag. What is the reason for that? Please excuse my silly questions, but I want to learn ;-)

 
 

Drupal is a registered trademark of Dries Buytaert.