Re: 'Cannot send Headers' Problem!!
| From: | Marek Kilimajer | Date: | Fri, 27 Jun 2003 12:44:00 +0000 |
| Subject: | Re: 'Cannot send Headers' Problem!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153104@lists.php.net to get a copy of this message | ||
Simly go to mjs/directory.php, line 3, and remove any output that is there, mosty likely some white characters.
PHPSpooky wrote:
Glory, On the internet server, apart from the beginning tables & html, this is what I get .. <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/unbreaka/public_html/mjs/directory.php:3) in <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line <b>531</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/unbreaka/public_html/mjs/directory.php:3) in <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line <b>532</b><br /> <br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/unbreaka/public_html/mjs/directory.php:3) in <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line <b>533</b><br /> And the code just ends here abruptly. Not a word after this. On my server, I get the right thing, no problems at all. What could be different on the Internet Server or Right at my Server causing this? I don't know if I can make changes to the Server Config on my Hosting Companies Server.. PHPSpooky-----Original Message----- From: Jason Wong [mailto:php-general@gremlins.biz] Sent: Friday, June 27, 2003 4:50 PM To: php-general@lists.php.net Subject: Re: [PHP] 'Cannot send Headers' Problem!! On Friday 27 June 2003 18:33, PHPSpooky wrote:problemSecondly, why is it it's giving me the 'cannot modify headers'servers.on the internet server, but not on my computer?Obviously there is a difference in the configuration of the two1) Check the actual output returned to the browser (view source) 2) Check your error reporting settings in PHP, specifically you should disable display errors and instead log them to a file.