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

Michael Klapper mick.mail.typo3 at googlemail.com
Thu Oct 29 17:17:26 CET 2009


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.

The reason for that is that all available buffer are cleared by the 
method and after that the method send an "header". There is no reason to 
send a header at the comandline.

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.

Thanks,
Mick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12396.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091029/99550768/attachment.asc>


More information about the TYPO3-team-core mailing list