Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Please i need help, my webpage displays: "Warning: Cannot modify header information - headers already sent by (output started at /home/almuccom/public_html/5004061.php:1) in /home/almuccom/public_html/prinz/cms.php on line 376".

I don't really know what to do, please i need help.
Hello Sahmi,

"output started at.." suggests that some PHP file unexpectedly outputted something before Couch could complete its processing.

This file usually is -
1. The front facing template being accessed (e.g. index.php or blog.php)
2. One of the user-configurable files of Couch (e.g. config.php, kfunctions.php or a \lang file)

In all probability, this output happens inadvertently and usually there are two common causes -
1. The file has an encoding of 'UTF with BOM' - this encoding outputs two invisible bytes (the BOM i.e. byte order marker) and this cause the error.
To rectify this, please open the file in a text editor (e.g. Notepad++) and change the encoding.

2. There is a white-space (includes linebreaks) before the opening PHP tag i.e. <?php.
This can be rectified by removing the whitespace (the <?php should be absolutely the first thing in a PHP file).

From the error message you posted, the file being reported is '5004061.php'.
Please check it for the two problems mentioned above.

Hope this helps.
I've got the same problem now.
Don't know what is going on.
On localhost all is working. On servers it displays that message and page is broken.
@adrianr, assuming you have already checked all the points mentioned in this thread, I can now only know about the reason by taking a look myself.

Please PM me your site's FTP + Couch creds and I'll try to see if I can find something.

Thanks.
4 posts Page 1 of 1
cron