[TYPO3-core] RFC #11995: Bug: Prompt for keyboard input does not get displayed in CLI scripts

Francois Suter fsu-lists at cobweb.ch
Sat Sep 19 12:24:28 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11995

Branches:
4-1, 4-2 & trunk

Problem:
Output (and keyboard input) in CLI script is blocked because ob_start() 
is called early in typo3/init.php.

Steps to reproduce are described in the bug tracker entry.

Solution:
Call ob_end_flush() after inclusion of init.php in cli_dispatch.phpsh so 
that I/O can take place normally again.

Notes:
The call to ob_start() was added to solve issues with compressed output 
(see revision 4564).
Thanks to Andreas Wolf for pointing in the right direction to solve this 
issue cleanly.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc11995.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090919/550a9fc7/attachment.txt 


More information about the TYPO3-team-core mailing list