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
>>>> 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. > > > > No, I'm pretty sure I haven't - in that case it would tell me file and line > > number where the output started. And even without the flush notices > > would still be there. > > > >> 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. > > > > There is nothing related in my Horde log - but every day (running in > > production since four days right now) there have been thousands of > > this strange line in my syslog, I'm logging all PHP errors and warnings. > > > > In our beta phase I've had PHP output Notices to the browser, but I > > never noticed them, and I still have no idea, WHY they appear. It > > could also be related to some strange PHP bug. But fact is: removing > > the flush solved it, no more such notice so far. > > > > As soon as time allows me to do so, I'll try to do some more tests. > > If someone else running DIMP in a production environment with more > > than a few hundred users, preferrably with same / similar PHP version > > and APC enabled, could enable logging for PHP errors and tell me > > wheter he / she is also seeing this errors, that would be a great help. > > > > For sure it could also be related to our personalisation / customization > > work, we strongly modified DIMP's appearance - but (repeating myself) > > if I really would have some prior output in my code or config files, PHP > > would tell me WHERE output has started. > > > > This one is really strange, I've neve before seen something similar. > > Anyone else? > > > >
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