I see what you were getting at.  The complaint that is logged is:

[19-Jul-2006 22:43:59] PHP Warning: Cannot modify header information - headers already sent in /var/www/apache2-default/roundcube_svn/ program/include/rcube_shared.inc on line 121

However, that isn't getting generated each time apache2 complains, which is pretty much on every action in roundcube. Here's an apache2 complaint:

[Thu Jul 20 11:41:56 2006] [error] [client 192.168.1.105] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0

Real informative. The relevant section in program/include/ rcube_shared.inc is:

   118      // include meta tag with charset
   119      if (!empty($this->charset))
   120        {
121 header('Content-Type: text/html; charset='.$this- >charset); 122 $__page_header = '<meta http-equiv="content-type" content="text/html; charset='.$this->charset.'" />'."\n";
   123        }
   124

I don't know enough about what comes before this situation to diagnose, frankly. I'm just putting it out there.

My theory is that the roundcube-logged complaints correspond to the blanking of the window, and perhaps have something to do with caching of different versions, because they seem to have gone away after using one version for a little while. The copious apache2 complaints? I'll leave that to someone who has a clue about this code.

Thanks!

On Jul 20, 2006, at 6:31 AM, Sergio A. Kessler wrote:

look in the roundcube config.php,
there is a logging directive there...

it helped me to spot various errors of this type...


On 7/20/06, mark <[EMAIL PROTECTED]> wrote:

I have smtp logging enabled, as per the default. Still getting the messages. Why do you suspect that as the culprit?

On Wed, 19 Jul 2006 18:03:39 -0300, "Sergio A. Kessler" <[EMAIL PROTECTED]> wrote:
> enable logging in roundcube config...
>
>
> On 7/19/06, phil <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Wed, 19 Jul 2006 11:35:57 -0700, Mark Edwards
> <[EMAIL PROTECTED]> wrote:
>> > Scratch that, I'm getting lots of these errors even with the latest
>> > trunk:
>> >
>> > [Wed Jul 19 11:28:07 2006] [error] [client 192.168.1.105] PHP
>> > Warning: Cannot modify header information - headers already sent in
>> > Unknown on line 0





--
Mark Edwards




Reply via email to