Project

General

Profile

Actions

Bug #21487

closed

t3lib_div::flushOutputBuffers can't work

Added by Steffen Gebert about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

#21236 added one two functions: cleanOutputBuffers() and flushOutputBuffers()

The latter one can't work, as it's not possible to send the header after content has been sent out.

So use ob_get_clean() to get the buffer's contents, send the header and then print it out.

(issue imported from #M12498)


Files

12498.diff (467 Bytes) 12498.diff Administrator Admin, 2009-11-06 19:36
phpunit-output-buffer.diff (825 Bytes) phpunit-output-buffer.diff Administrator Admin, 2009-11-06 19:37
12498_v3.diff (935 Bytes) 12498_v3.diff Administrator Admin, 2009-11-27 10:49

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #21236: Add API functions for cleaning and flushing output buffersClosedRupert Germann2009-10-11

Actions
Related to TYPO3 Core - Bug #23645: t3lib_div::flushOutputBuffers still doesn't workClosed2010-09-29

Actions
Actions

Also available in: Atom PDF