[TYPO3-core] RFC: #12396: BUG: PHP Warning produced by "t3lib_div::flushOutputBuffers"

Martin Kutschker masi-no at spam-typo3.org
Thu Oct 29 17:26:00 CET 2009


Michael Klapper schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12396
> 
> Branches:
> trunk
> 
> Problem:
> The method "t3lib_div::flushOutputBuffers()" produces a PHP Warning
> after each run of the "cli_dispatch.phpsh" script.

Odd. I tried it at my command line and nothing happened. Have to check my settings again.

> Solution:
> Remove the send "header" statement.
> 
> Notes:
> - The method is currently only at the cli_dispatch.phpsh in usage
>   See: typo3/cli_dispatch.phpsh:120:t3lib_div::flushOutputBuffers()
> - The PHP Warning is stored in the sys_log table.

The idea was to send the header just in case as when it's used as CGI/module. Perhaps it's better to
check if TYPO3 isn't in CLI mode.

Masi


More information about the TYPO3-team-core mailing list