Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Warning: ob_start(): output handler 'ob_gz


1 reply to this topic

#1 Lenn

  • Community Member
  • 1 posts
  • Real Name:Thomas

Posted 24 October 2003, 13:48

Hello ppl!

I have just installed osC and have been fooling around a bit, but now I get this warning:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/virtual/site261/fst/var/www/html/includes/application_top.php on line 77

I did not find it in the forum, so I was wondering if anybody had this warnign before so the could help me, or if not, point me to some documentation....



part ofd the php...

// if gzip_compression is enabled, start to buffer the output
if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded = extension_loaded('zlib')) && (PHP_VERSION >= '4') ) {
if (($ini_zlib_output_compression = (int)ini_get('zlib.output_compression')) < 1) {
if (PHP_VERSION >= '4.0.4') {
ob_start('ob_gzhandler');
} else {
include(DIR_WS_FUNCTIONS . 'gzip_compression.php');
ob_start();
ob_implicit_flush();
}
} else {
ini_set('zlib.output_compression_level', GZIP_LEVEL);
}
}




Thanks
Thomas

#2 iiinetworks

  • Community Member
  • 3,734 posts
  • Real Name:Matt

Posted 24 October 2003, 19:08

Two things:

1. Try disabling gzip in admin.

2. If you get a similar error on a new line after 1, look for a catalog file in the languages/english directory (or whatever language). Sometimes people accidentally upload a catalog file when they mean to upload a language file.

Hth,
Matt