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
> I'm also seeing a lot of 'headers already sent in Unknown on line 0' > in apache error logs. However the manual for flush says: > http://php.net/manual/en/function.flush.php > > flush() may not be able to override the buffering scheme of your web > server and it has no effect on any client-side buffering in the > browser. It also doesn't affect PHP's userspace output buffering > mechanism. This means you will have to call both ob_flush() and > flush() to flush the ob output buffers if you are using those. > > And if I add an ob_flush() call before flush() the error message goes > away. Patch is attached.
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