PHP Warning: Cannot modify header information - headers alreadysent

Martin Marques martin at bugs.unl.edu.ar
Thu Jun 15 15:40:48 CEST 2006


On Thu, 15 Jun 2006 13:10:08 +0200, Thomas Bruederli <roundcube at gmail.com> wrote:
> toxygen wrote:
>> Hello,
>> I recently updated to svn and i'm getting errors in
> /var/log/apache2/error.log like this:
> 
> Hmm, the SVN version should have output buffering included to avoid
> these problems. The reason for that can be some extra chars outside

I'm on SVN latest and get, not so often, this error messages.

> <?php brackets that are sent as content. The "in Unknown on line 0"
> sounds a bit strange.

PHP will give this error message (yeah, the message really says nothing) anytime you output some char (even white spaces) and after that give a header() command.

> Check your config files if there are any newlines added after ?>

New line is OK, but you can't have anything after it (white space, another new line, etc).

-- 
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || 
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador, 
    del Litoral             |   Administrador
---------------------------------------------------------






More information about the users mailing list