you can change document encoding to "ansi" . always use powerfull editor same as dreamveaver or rapidphp for edit & change code.
In the HTTP protocol a server response consists of a group of headers followed by a body, separated by a single blank line (i.e. a line containing only a carriage-return). This warning message is produced by PHP if a program attempts to send an additional HTTP header after the separator (and hence all the headers) has already been sent.
By far the most common cause of this problem is that one or more PHP files contains characters (usually a space or an empty line) outside of the <?php and ?> tags. To fix the problem you should examine the PHP file indicated in the warning message and remove any blank characters at the beginning and end of the file. Some text editors, including some online file managers, are prone to automatically adding extraneous line-ending characters at the ends of files, particularly when not configured to do otherwise.
Remove the closing ?> tag at the end of your PHP files. It actually serves no useful purpose as the PHP interpreter knows that end-of-file means end-of-PHP too. Removing it means that any extra blank characters added by your editor will have no effect on the output generated and so will not prevent additional HTTP headers from being sent.
Turn output_buffering setting on php.ini to on to permanently remove this error
can anyone help me? I'm with a problem to activate the plugin wp-postratings on my site. When I activate the plugin, the following error appears:
"Warning: Cannot modify header information - headers already sent by (output started at /home/universc/public_html/wp-content/plugins/wp-postratings/wp-postratings.php:2635) in /home/universc/public_html/wp-includes/pluggable.php on line 866"
the thread is ol bud i'd like to share my persolnal solution. I got the (Warning: Cannot modify header information - headers already sent by) warning working with dotproject application and I read elsewhere that the bug may be empy spaces in the bottom os php code file. Tried to clean empty spaces and everything else and nothing. After call a friend to help he discovered some few blank characters in the end of php file code that was generating html undesirable code and therefore the warning..... hard to track "invisible" bugs like that.... best regards to all.
Fantastic, I was amazed and so relieved. My problem was refreshing the same page of listed results immediately after deleting one of them with a Form submit and this solution is the only one that works. Truely many thanks. Peter
Hi there We are having a similar situation. One of the administrators of our website tried to add an affiliate widget from Amazon. Not sure where they put it but it is in the header and is the only thing available on the log in screen - I cannot log in to see the code or where it was added.
This is the error message:Warning: Cannot modify header information - headers already sent by (output started at /home/persue2/public_html/wp-content/plugins/amazon-auto-links/inc/amazonautolinks_initial_load.php:2) in /home/persue2/public_html/wp-includes/pluggable.php on line 881