#35962 [Opn->Bgs]: output handler 'ob_gzhandler' cannot be used twice
| From: | iliaa@php.net | Date: | Tue, 10 Jan 2006 15:45:26 +0000 |
| Subject: | #35962 [Opn->Bgs]: output handler 'ob_gzhandler' cannot be used twice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91740@lists.php.net to get a copy of this message | ||
ID: 35962
Updated by: iliaa@php.net
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