[TYPO3-core] RFC #12498: t3lib_div::flushOutputBuffers can't work

Steffen Gebert steffen at steffen-gebert.de
Thu Nov 26 20:30:35 CET 2009


Am 06.11.2009, 23:09 Uhr, schrieb Steffen Gebert  
<steffen at steffen-gebert.de>:

> Problem:
> #12189 added 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:
>
> while (ob_get_level()) {
>    ob_end_flush();
> }
> header('Content-Encoding: None', TRUE);
>
>
> Solution:
> Use ob_get_clean() to get the buffer's contents, send the header and then
> print it out.
>
> Note:
> An example, how to test this, is attached to bug tracker.

REMINDER


More information about the TYPO3-team-core mailing list