Issue Bug Closed

#21403PHP Warning produced by t3lib_div::flushOutputBuffers()

Michael Klapper 10/29/09, 17:14 updated 08/06/10, 13:30

Description

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.

(issue imported from #M12396)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.