6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/6/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7851] "Headers already sent" caused by usage of flush()
*
Your Email Address
*
Spam protection
Enter the letters below:
._..__.. .\ /. , | [__]|\ | >< \./ _|_| || \|/ \ |
Comment
>> 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 > > > > This will happen if you have extra space at the top of one of your > config files. > > > >> 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. > > > > That is correct - DIMP will catch any unexpected input at the very > end of processing and toss it - but will also this unexpected output > at a DEBUG level to the Horde log. So this has probably been an > issue forever - you simply haven't seen it because you are not > logging at a DEBUG level.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers