00852: Page Custom : "Cannot modify header information"
Description: Error when trying to customize a page in the /local folder. I just added <?php
...as in the example.
Got the error message : "Warning: Cannot modify header information - headers already sent by (output started at /data/www/a/s/xxx/Accueil.Présentation.php:2) in /data/www/a/s/xxx/pmwiki.php on line 885"
Line 885 is :
foreach($HTTPHeaders as $h) (@$sent++) ? @header($h) : header($h);
I also put every folder on 777.
This happens when the
<?php is not the very first thing of the file. Make sure there are no spaces or other characters before it. --Petko July 07, 2009, at 10:32 PM