Hi All,
I'm seeing errors like this in my error_log:
.. PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0 .. PHP Stack trace: .. PHP 1. {main}() /var/www/localhost/htdocs/roundcube-svn/index.php:0 .. PHP 2. include() /var/www/localhost/htdocs/roundcube-svn/index.php:299
I hope this is useful - and do let me know if I should rather post this somewhere else.
Yours, Morten
On Sun, 22 Oct 2006 22:24:46 +0200, Morten Mertner morten@mertner.com wrote:
Hi All,
I'm seeing errors like this in my error_log:
.. PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0 .. PHP Stack trace: .. PHP 1. {main}() /var/www/localhost/htdocs/roundcube-svn/index.php:0 .. PHP 2. include() /var/www/localhost/htdocs/roundcube-svn/index.php:299
Morten I wrote the ticket about 3 months ago, you can review it here: http://trac.roundcube.net/trac.cgi/ticket/1483926
I seems they're blaming a blank space at the end of one of the php pages, I'll try and take a look at mine later, but if you have time, see if you can find it.
Thanks
P
I hope this is useful - and do let me know if I should rather post this somewhere else.
Yours, Morten
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
-- http://fak3r.com - you don't have to kick it
Hi Phil,
I wrote the ticket about 3 months ago, you can review it here: http://trac.roundcube.net/trac.cgi/ticket/1483926
I seems they're blaming a blank space at the end of one of the php pages, I'll try and take a look at mine later, but if you have time, see if you can find it.
I think I found the problem - I've updated the ticket you kindly posted with information on the fix.
Yours, Morten
On Mon, 23 Oct 2006 21:14:08 +0200, Morten Mertner morten@mertner.com wrote:
Hi Phil,
I wrote the ticket about 3 months ago, you can review it here:
http://trac.roundcube.net/trac.cgi/ticket/1483926
I seems they're blaming a blank space at the end of one of the php
pages, I'll try and take a look at mine later, but if you have time, see if you can find it.
I think I found the problem - I've updated the ticket you kindly posted with information on the fix.
Thanks, but this didn't help me; I still see the error.
P
Yours, Morten
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
-- <a href="http://feeds.feedburner.com/fak3r/UgVW"><img src="http://feeds.feedburner.com/fak3r/UgVW.gif" style="border:0" alt="fak3r.com"/></a>
On Mon, Oct 23, 2006 at 01:19:11PM -0500, phil wrote:
I seems they're blaming a blank space at the end of one of the php pages, I'll try and take a look at mine later, but if you have time, see if you can find it.
BTW - I've read suggestions to remove the closing ?> at the end of a php file. This way additional whitespace at the end doesn't hurt as it is eaten by the PHP parser.
What do you think of this suggestion?
Balu
That's actually what Zend recommends: http://framework.zend.com/manual/en/coding-standard.html
Thomas -Balu- Walter wrote:
On Mon, Oct 23, 2006 at 01:19:11PM -0500, phil wrote:
I seems they're blaming a blank space at the end of one of the php pages, I'll try and take a look at mine later, but if you have time, see if you can find it.
BTW - I've read suggestions to remove the closing ?> at the end of a php file. This way additional whitespace at the end doesn't hurt as it is eaten by the PHP parser.
What do you think of this suggestion?
Balu