I don't see which file actually sends output before the headers() call in
rcube_shared.inc. I don't get errors like this on my installation. We
should try to find the real problem instead of creating workarounds for it.

ob_start is already used to prevent from those errors. Must be some include
files that are included before the on_start() call.

~Thomas

Matt Kaatman wrote:
> I don't know if it's related but I'm seeing a lot of warnings in the error 
> log:
> 
> [01-May-2007 14:15:08] PHP Warning:  Cannot modify header information - 
> headers already sent in 
> /var/www/roundcubemail/program/include/rcube_shared.inc on line 154
> [01-May-2007 14:15:08] PHP Stack trace:
> [01-May-2007 14:15:08] PHP   1. {main}() /var/www/roundcubemail/index.php:0
> [01-May-2007 14:15:08] PHP   2. include() /var/www/roundcubemail/index.php:268
> [01-May-2007 14:15:08] PHP   3. rcmail_template->send() 
> /var/www/roundcubemail/program/steps/mail/sendmail.inc:461
> [01-May-2007 14:15:08] PHP   4. rcmail_template->write() 
> /var/www/roundcubemail/program/include/rcmail_template.inc:176
> [01-May-2007 14:15:08] PHP   5. rcube_html_page->write() 
> /var/www/roundcubemail/program/include/rcmail_template.inc:224
> [01-May-2007 14:15:08] PHP   6. header() 
> /var/www/roundcubemail/program/include/rcube_shared.inc:154
> 
> I know it's bad practice but maybe we should be using ob_start(); and then do 
> ob_clean(); before every header call?
> 
> 
> On Wed, 2 May 2007 12:32:06 +0200, Michael Bueker <[EMAIL PROTECTED]> wrote:
>> Yes, I'm experiencing it right now, also with the latest SVN.
>>
>> Mik
>>
>> On Tue, 1 May 2007 14:15:07 -0500, Matt Kaatman
>> <[EMAIL PROTECTED]> wrote:
>>> In the latest svn, I've lost the ability to select messages and have
>> them
>>> marked as read (with the preview pane turned on). Has anyone else
>>> experienced this problem?
> 
> 
> 


Reply via email to