1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Beta 2 Installation on Windows Apache 2

Discussion in 'Resolved Bug Reports' started by Nickolas, Oct 21, 2010.

  1. Nickolas

    Nickolas Member

    Sorry for my english.

    Well.. There is a encoding problem. The picture can explain better than me.

    I temporarily fix this on XenForo/Application.php

    Code:
    public static function gzipContentIfSupported(&$content)
    	{
    		return array();
    		if (!function_exists('gzencode') || empty($_SERVER['HTTP_ACCEPT_ENCODING']))
    		{
    			return array();
    		}
    
    		$headers = array();
    
    		if (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false)
    		{
    			$headers[] = array('Content-Encoding', 'gzip', true);
    			$headers[] = array('Vary', 'Accept-Encoding', false);
    
    			$content = gzencode($content, 1);
    		}
    
    		return $headers;
    	}

    Adsız.png
     
  2. Mike

    Mike XenForo Developer Staff Member

    Moving to bugs. I have a fix for this. It's caused by zlib.output_compression. Will post the full fix later, but if you're affected by this issue, the change posted in the initial message is sufficient.
     
    Nickolas likes this.

Share This Page