[chora] [mail@martin-jansen.de: Re: Fwd: [PHP-DEV] Re: [4.3.0-pre1] output handler 'ob_gzhandler' cannot be used twice]

Chuck Hagenbuch chuck@horde.org
Mon Oct 14 15:45:35 PDT 2002


Eh? I'm a bit confused - Chora uses Horde::compressOutput(), which makes
sure it's only called once. What's the problem?

Quoting Anil Madhavapeddy <anil@recoil.org>:

> ----- Forwarded message from Martin Jansen <mail@martin-jansen.de> -----
> 
> From: "Martin Jansen" <mail@martin-jansen.de>
> Date: Sun, 13 Oct 2002 19:38:00 +0200
> To: "Anil Madhavapeddy" <anil@recoil.org>
> Subject: Re: Fwd: [PHP-DEV] Re: [4.3.0-pre1] output handler
> 'ob_gzhandler' cannot be used twice
> 
> Because Chora uses ob_gzhandler() twice, in PHP 4.3.0-pre1 the warning
> I mentioned in the mail below is emitted. Perhaps you might want to fix
> this?
> 
> - Martin
> 
> On Sun, 13 Oct 2002 15:25:11 +0100, Anil Madhavapeddy wrote:
> 
> >?
> >
> >On Sun, Oct 13, 2002 at 10:40:11AM +0200, Martin Jansen wrote:
> >> FYI:
> >>
> >> ----- Forwarded message from Yasuo Ohgaki <yohgaki@ohgaki.net> -----
> >>
> >> From: Yasuo Ohgaki <yohgaki@ohgaki.net>
> >> Subject: [PHP-DEV] Re: [4.3.0-pre1] output handler 'ob_gzhandler'
> cannot be used twice
> >> To: php-dev@lists.php.net, Martin Jansen <mj@php.net>
> >>
> >> Martin Jansen wrote:
> >> >With PHP 4.3.0-pre1 I get the following error message in Chora:
> >> >
> >> >"Warning: (null)() [ref.outcontrol]: output handler 'ob_gzhandler'
> >> >cannot be used twice in Unknown on line 0"
> >>
> >> ob_gzhandler shouldn't be applied more than once.
> >> Script should check if it is enabled in php.ini or not before
> >> using it, otherwise it results in this error.
> >>
> >> >
> >> >Did you change the behaviour of ob_gzhandler, which makes this
> warning
> >> >legal, or is it a bug?
> >> >
> >>
> >> Script should be modified...
> >>
> >> --
> >> Yasuo Ohgaki
> >>
> >> ----- End forwarded message -----
> >>
> >> HTH,
> >> --
> >>     - Martin                           Martin Jansen
> >>                             http://martinjansen.com/
> 
> 
> 
> ----- End forwarded message -----
> 
> --
> Chora mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: chora-unsubscribe@lists.horde.org


-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers


More information about the chora mailing list