php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20479 handler 'ob_gzhandler' cannot be used twice in Unknown on line 0
Submitted: 2002-11-18 07:30 UTC Modified: 2002-11-28 06:40 UTC
From: joc at presence-pc dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.3.0RC1 OS: Linux 2.4.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joc at presence-pc dot com
New email:
PHP Version: OS:

 

 [2002-11-18 07:30 UTC] joc at presence-pc dot com
Hi,

When using :

ob_start("ob_gzhandler") in my code, I obtain the following error :

handler 'ob_gzhandler' cannot be used twice in Unknown on line 0

No problem so far with PHP 4.2.3

Regards,
  Jocelyn

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-18 07:31 UTC] joc at presence-pc dot com
Sorry, the complete error message is :

Warning: (null)() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0
 [2002-11-18 11:01 UTC] sniper@php.net
You propably have set it in php.ini too?

 [2002-11-18 11:09 UTC] joc at presence-pc dot com
Humm, indeed, output_buffering was set to 4096, now it works.
How this case was handled in php 4.2.3 ?
 [2002-11-28 06:40 UTC] helly@php.net
This check was added in 4.3.0dev some time ago to prevent missconfiguration. There simply was no check in earlier versions.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC