<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Cannot modify header information - headers already sent</title> 
  <pubDate>Fri, 10 Apr 2026 09:50:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9003</link> 
  <atom:link rel="self" type="application/rss+xml" title="Cannot modify header information - headers already sent" href="https://bugs.horde.org/ticket/9003/rss" /> 
  <description>Cannot modify header information - headers already sent</description> 
 
   
   
  <item> 
   <title>Hi,

I chose &quot;Horde Groupware Webmail Edtion 1.2.5 Final&quot; </title> 
   <description>Hi,

I chose &quot;Horde Groupware Webmail Edtion 1.2.5 Final&quot; as &quot;Horde Groupware Webmail Edtion 1.2.6 Final&quot; is not yet in the list.  The issue is however in 1.2.6.

After installing Horde I get the following message when accessing index.php:

Warning: Cannot modify header information - headers already sent by (output started at /path/horde-webmail-1.2.6/pear/php/Log.php:169) in /path/horde-webmail-1.2.6/index.php on line 97

Apache 2.2.14
Ubuntu server 10.04
PHP 5.3.2

Any idea what this could be?

Thanks,
Chris.</description> 
   <pubDate>Mon, 03 May 2010 15:00:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t58702</link> 
  </item> 
   
  <item> 
   <title>There is no code in this line that would produce any output.</title> 
   <description>There is no code in this line that would produce any output. Are you that this is not a follow-up error of some other, earlier error message?</description> 
   <pubDate>Mon, 03 May 2010 15:24:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t58703</link> 
  </item> 
   
  <item> 
   <title>Hi Jan,

How can I find this out?

The complete output o</title> 
   <description>Hi Jan,

How can I find this out?

The complete output of the page is:

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/pear/php/Log.php  on line 169

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Notification.php on line 64

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Perms.php on line 455

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Perms.php on line 462

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Perms/sql.php on line 83

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Perms/sql.php on line 116

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Perms/sql.php on line 153

Deprecated: Assigning the return value of new by reference is deprecated in /path/horde-webmail-1.2.6/lib/Horde/Prefs.php on line 847

Warning: Cannot modify header information - headers already sent by (output started at /path/horde-webmail-1.2.6/pear/php/Log.php:169) in /path/horde-webmail-1.2.6/index.php on line 97

There are no error messages in the apache logs.

Please let me know how I can help debug.

Regards,
Chris.</description> 
   <pubDate>Mon, 03 May 2010 15:40:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t58704</link> 
  </item> 
   
  <item> 
   <title>Configure PHP or Horde to not include E_DEPRECATED in the er</title> 
   <description>Configure PHP or Horde to not include E_DEPRECATED in the error level.

Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.</description> 
   <pubDate>Mon, 03 May 2010 15:52:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t58705</link> 
  </item> 
   
  <item> 
   <title>&gt; Configure PHP or Horde to not include E_DEPRECATED in the </title> 
   <description>&gt; Configure PHP or Horde to not include E_DEPRECATED in the error level.
&gt;
&gt; Please use the mailing list to ask for support.
&gt;
&gt; http://www.horde.org/mail/ contains a list of all available mailing lists.

I think it is a bug - horde ist not well working with the latest php version 5.3 which is shipped with Ubuntu 10.04 (and other distros as well).

Any clue when the issue (I&#039; refering to the &quot;warning&quot; line, not the &quot;deprecated&quot; lines) &quot;Warning: Cannot modify header information - headers already sent by &quot; is fixed with horde?</description> 
   <pubDate>Wed, 28 Jul 2010 19:04:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t59494</link> 
  </item> 
   
  <item> 
   <title>
&gt; I think it is a bug - horde ist not well working with th</title> 
   <description>
&gt; I think it is a bug - horde ist not well working with the latest php 
&gt; version 5.3 which is shipped with Ubuntu 10.04 (and other distros as 
&gt; well).

1) Horde 3 must maintain backwards compatibility with PHP 4. Horde 4 will require PHP 5.2 or later.

2) The &quot;warning&quot; line you refer to is NOT a horde issue. It is a side effect of the deprecated error lines being output to the browser. See Jan&#039;s earlier response.

3) The lines actually causing the problem are not even Horde code, they are in PEAR libraries.

Please use the mailing list for further questions or support.
</description> 
   <pubDate>Wed, 28 Jul 2010 19:15:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t59495</link> 
  </item> 
   
  <item> 
   <title>&gt; 3) The lines actually causing the problem are not even Hor</title> 
   <description>&gt; 3) The lines actually causing the problem are not even Horde code, 
&gt; they are in PEAR libraries.

This, of course, should read &quot;Some of the lines&quot;.</description> 
   <pubDate>Wed, 28 Jul 2010 19:17:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t59496</link> 
  </item> 
   
  <item> 
   <title>Hi
&gt;&gt; I think it is a bug - horde ist not well working with</title> 
   <description>Hi
&gt;&gt; I think it is a bug - horde ist not well working with the latest php
&gt;&gt; version 5.3 which is shipped with Ubuntu 10.04 (and other distros as
&gt;&gt; well).
&gt;
&gt; 1) Horde 3 must maintain backwards compatibility with PHP 4. Horde 4 
&gt; will require PHP 5.2 or later.

that&#039;s the issue: as far as I understood the pear is moving from php4 to php5 (pear/Log i.e.: There is unfortunately no way to support both PHP4 and PHP5 in the same code base when running under E_ALL. Because it appears that the majority of Log package users have moved to PHP5, the Log package now targets that audience.&quot;

so the horde way to not support newer php5 but sticking with php4 is bad.
So horde is one with not supporting the current php5 releases so I stay with it: it&#039;s a bug.</description> 
   <pubDate>Wed, 28 Jul 2010 19:37:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t59498</link> 
  </item> 
   
  <item> 
   <title>&gt; that&#039;s the issue: as far as I understood the pear is movin</title> 
   <description>&gt; that&#039;s the issue: as far as I understood the pear is moving from php4 
&gt; to php5 (pear/Log i.e.: There is unfortunately no way to support both 
&gt; PHP4 and PHP5 in the same code base when running under E_ALL. 

Well, that&#039;s not technically true, but that&#039;s another story.

Because 
&gt; it appears that the majority of Log package users have moved to PHP5, 
&gt; the Log package now targets that audience.&quot;
&gt;
&gt; so the horde way to not support newer php5 but sticking with php4 is bad.

I didn&#039;t say we don&#039;t support php5.  I said Horde *3* is compatible with PHP 4. All new development work is being done on Horde 4, which is PHP 5 native.

&gt; So horde is one with not supporting the current php5 releases so I 
&gt; stay with it: it&#039;s a bug.

I fail to see how a version of Horde that is designed to work with PHP 4 spitting out warning messages when used with PHP 5 is a bug. Not to mention that these error messages shouldn&#039;t be making it to the browser window on a production system anyway...

To summarize again: Horde 4 is PHP 5 native. Horde 3 works perfectly fine with PHP 5 as long as the deprecated warnings don&#039;t make it to the browser. (Again, see jan&#039;s previous comments).</description> 
   <pubDate>Wed, 28 Jul 2010 19:45:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9003#t59499</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
