Read messagse

Matt Kaatman roundcube-dev at matt.kaatman.com
Sun May 13 23:20:27 CEST 2007


Well nevermind... It's fixed.

I deleted everything except my config and re-grabbed everything from SVN
again and now I don't have the warning stack trace or the read message
issue.

Very strange since TortoiseSVN showed that there were no modifications on
the files before I did this.

I should have made a backup and did a diff but I wasn't expecting it to
make a difference!

Matt

On Sun, 13 May 2007 16:10:56 -0500, Matt Kaatman
<roundcube-dev at matt.kaatman.com> wrote:
> Hey Thomas,
> 
> I tried to troubleshoot the problem some more. I updated to the latest
SVN
> and I still get the same block every time I send a message.
> 
> Since this was only a warning and wasn't my real problem, I decided to
> ignore it for now and focus on the actual problem.
> 
> Which is that when I select messages and they show up in the preview
pane,
> they don't get marked as read.
> 
> So I tried a few things and didn't make much progress, but I did discover
> that by commenting line 154 in rcube_shared.inc it fixed my problem and
> new
> messages were marked as read once selected.
> 
> I might try grabbing some of the older versions from SVN and see if I can
> figure out exactly which changes were made when this started breaking.
> 
> I don't have much useful information to report. 
> 
> The only other things I noticed were:
> 1. That doing error_log(get_ob_length());  gave me 0 each time. 
> 2. My $this->charset is properly set to UTF-8
> 3. I'm using the non-gzipped ob_start().
> 
> 
> On Sun, 13 May 2007 18:15:21 +0200, Thomas Bruederli
<roundcube at gmail.com>
> wrote:
>> 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 <m.bueker at berlin.de>
>> 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
>>>> <roundcube-dev at matt.kaatman.com> 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?
>>>
>>>
>>>





More information about the Dev mailing list