Headers already sent
Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/www.yoursite.com/htdocs/xxx/xxx.php:1) in /home/xxx/www.sito.it/htdocs/xxx/xxx.php on line 8
That's a common error people get. There are a lot of possible reasons for why this might happen.
This error is due to the use of header() function: it is important to notice that header() must be called before any actual output is sent.
So you can not enter, for example, a 'echo' or 'print', even spaces and empty rows are avoid.
- SPACES OR BLANK ROWS
Open file showed inside warning message and take a look at row indicated. Check there is no space, no gap before
- BOM: byte-order mark
We suggest to use Notepad++ a free software: start Notepad++ and in Comfiguration > New file/New Directory activate UTF-8 without BOM and Apply to ANSI file.
Open incriminating file and save.
Finally tou can overwrite this file to your online installation
- ob_start() FUNCTION
Calling ob_start () as the very first line of your file, you will be sure not to get errors.
It's not the best choice so we suggest you to try to correct the errors.
Help Topics: Support | Last updated
23 Apr 2014