Problem with recent versions and apache2(?)
mark at antsclimbtree.com
Thu Jul 20 20:48:02 CEST 2006
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
[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/
118 // include meta tag with charset
119 if (!empty($this->charset))
121 header('Content-Type: text/html; charset='.$this-
122 $__page_header = '<meta http-equiv="content-type"
content="text/html; charset='.$this->charset.'" />'."\n";
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.
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 <mark at mail.antsclimbtree.com> 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"
>> <sergiokessler at gmail.com> wrote:
>> > enable logging in roundcube config...
>> > On 7/19/06, phil <phil at cryer.us> wrote:
>> >> On Wed, 19 Jul 2006 11:35:57 -0700, Mark Edwards
>> > <mark at antsclimbtree.com> wrote:
>> >> > Scratch that, I'm getting lots of these errors even with the
>> >> > 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
More information about the Dev