You get garbage in some parts of the page

3.9.18. You get garbage in some parts of the page

If some parts of your page looks like containing garbage, it may be due to a compressed output from the server. You could try to disable compression by just commenting the line (see I cant make my Admin acount work):

ob_start('ob_gzhandler');

or setting $do_gzip_compress to FALSE:

$do_gzip_compress = FALSE;

in mainfile.php. The part that controls compression in mainfile.php is:

$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
    if (extension_loaded('zlib')) {
        ob_end_clean();
        ob_start('ob_gzhandler');
    }
} else if ($phpver > '4.0') {
    if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
        if (extension_loaded('zlib')) {
            $do_gzip_compress = TRUE;
            ob_start();
            ob_implicit_flush(0);
            //header('Content-Encoding: gzip');
        }
    }
}

You might even have to comment it completely (see PhpNuke wont show in IE or Opera).

 

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 337,475,889
  • Today: 12,429
Server InfoServer Info
  • Sep 26, 2017
  • 03:55 am PDT
 
 

Daily Inspiration