ID: 35962 Updated by: [EMAIL PROTECTED] Reported By: carlos dot esteban at gft dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows 2000 PHP Version: 5.1.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Somewhere in your code or configuration the output handler ob_gzhandler is already being set. The error itself is perfectly correct in this case. Previous Comments: ------------------------------------------------------------------------ [2006-01-10 16:01:31] carlos dot esteban at gft dot com Description: ------------ This bug was reported and fixed in 2002 i think, but in PHP 5.1.1 + Apache 2 i'm getting this message "Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice" In many of the pages of PHPNuke framework I'm sure about the existence of output_handler = and zlib.output_compression = Off directives in the PHP configuration file. I'm not using CGI, i'm using the DLL for Apache component Reproduce code: --------------- For example in the \html\includes\page_header.php file in PHPNuke framework The lines are as follows if ( extension_loaded('zlib') ) { ob_start('ob_gzhandler'); } Actual result: -------------- Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in C:\Program Files\Apache Group\Apache2\htdocs\portal\html\includes\page_header.php on line 58 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35962&edit=1