6.0.0-beta1
7/3/25

[#8481] Downloaded files contain error messages like "failed to flush buffer. No buffer to flush"
Summary Downloaded files contain error messages like "failed to flush buffer. No buffer to flush"
Queue Gollem
Queue Version 1.1
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester sebastian (at) breitkopf (dot) name
Created 08/05/2009 (5811 days ago)
Due
Updated 11/03/2011 (4991 days ago)
Assigned 08/06/2009 (5810 days ago)
Resolved 10/17/2011 (5008 days ago)
Github Issue Link
Github Pull Request
Milestone 2
Patch Yes

History
11/03/2011 01:44:11 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git for this ticket:

Reset stream pointer before sending the file content (Bug #10709).
The stream was already used earlier, when creating the Mime_Part and trying to
find a MIME viewer.
Also remove the flushing here too (Bug #8481).

  3 files changed, 8 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/b6d197cd1d67895c7def982a0e74eba565242b51
10/17/2011 04:43:16 PM Jan Schneider Assigned to Jan Schneider
Taken from Chuck Hagenbuch
State ⇒ Resolved
Milestone ⇒ 2
 
10/17/2011 04:40:39 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

Remove flushing (Bug #8481).

  3 files changed, 3 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/ac1f6ff11a5230d44f8fa7c922685015eb036038
09/30/2011 09:37:28 AM Jan Schneider Comment #3 Reply to this comment
Wrong bug number.
09/30/2011 09:36:35 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix empty_file_input_value quirk for Chrome browsers (Bug #8481).

  2 files changed, 3 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/f93a5f19691b1163c82048fb283fe635edf90649
08/06/2009 10:44:18 AM Jan Schneider State ⇒ Assigned
Assigned to Chuck Hagenbuch
 
08/05/2009 02:56:49 PM sebastian (at) breitkopf (dot) name Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Downloaded files contain error messages like "failed to flush buffer. No buffer to flush"
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ Yes
New Attachment: view.php.diff Download
State ⇒ Unconfirmed
Reply to this comment
Downloaded files contain error messages like

"<b>Notice</b>:  ob_flush() [<a 
href='ref.outcontrol'>ref.outcontrol</a>]: failed to flush buffer. No 
buffer to flush. in <b>/usr/share/horde3/gollem/view.php</b> on line 
<b>55</b><br />"

This is annoying for text files and makes binary files unusable.



I am using the file system to store files on the server.



The reason is that output buffering is not switched on, so one could 
either add a call of the "ob_start" function or remove the "ob_flush" 
call. But as output buffering is not desired for downloading, it might 
be better to switch it off.



I've added a path for "$Horde: gollem/view.php,v 1.51.2.5 2009/01/06 
15:23:53 jan Exp $"


Saved Queries