PDA

View Full Version : what does this warning mean?


Cyclist
16th of April 2004 (Fri), 08:19
Warning: (null)() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0

Is this something I have to think about? It shows up in Exibition editor when setting exhibition groups and I don't know why.

Pekka
16th of April 2004 (Fri), 12:58
This is a PHP bug prior to version 4.3.0:
http://bugs.php.net/bug.php?id=20479&edit=1

So if you have in php.ini output_buffering = 4096 you MAY get this error (yours is first time I've seen this). Solutions are:

1. set in php ini

output_buffering =

2. update PHP

3. replace in EE code

ob_start ("ob_gzhandler");

with

ob_start ();

4. turn off error reporting by adding in the beginning of each PHP file (after <?php )

error_reporting(0);

-------

I'll make note of this to put those lines optional in later versions in case this bug arises.

Cyclist
16th of April 2004 (Fri), 13:02
but I am using PHP Version 4.3.1 ???

Pekka
16th of April 2004 (Fri), 13:44
It's possible it was not fixed fully there. I suggest you either ignore the error or use solution 4 above. Add the code line only in files that give the error (public area should be ok).

Pekka
16th of April 2004 (Fri), 16:31
More info:
I found a fix for this error -- I uploaded it to your server a moment ago.