[Tickets #7851] "Headers already sent" caused by usage of flush()

bugs at horde.org bugs at horde.org
Thu Jan 15 12:15:56 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7851
------------------------------------------------------------------------------
  Ticket             | 7851
  Created By         | thomas at gelf.net
  Summary            | "Headers already sent" caused by usage of flush()
  Queue              | DIMP
  Version            | 1.1.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


thomas at gelf.net (2009-01-15 07:15) wrote:

There has been added a flush() call in DIMP.php between revision 1.131
and 1.132 - causing thousands of warning lines a day in my syslog:

> Cannot modify header information - headers already sent in Unknown on line 0

I'm running latest Debian Lenny, PHP 5.2.6 (untouched, from Lenny) as an
Apache Module, APC Cache enabled.

See http://cvs.horde.org/diff.php/dimp/lib/DIMP.php?r1=1.131&r2=1.132
for the exact change (not documented in CVS log).

Removing the flush()-call solves this issue, no more warnings since then.

Kind regards,
Thomas Gelf







More information about the bugs mailing list