Welcome Guest, Not a member yet? Register   Sign In
Content Encoding Error
#2

[eluser]Sean Gates[/eluser]
If you have any errors in your PHP this will break compression. Today I had the same problem. I read this in the comments of the config file:
Code:
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads.  When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| VERY IMPORTANT:  If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts.  For
| compression to work, nothing can be sent before the output buffer is called
| by the output class.  Do not "echo" any values with compression enabled.
So, I went in to the main index.php file and set:
Code:
error_reporting(E_ALL);
to
Code:
error_reporting(E_ALL ^ E_NOTICE);
Worked from that point on.

-- Sean


Messages In This Thread
Content Encoding Error - by El Forum - 10-14-2008, 05:04 AM
Content Encoding Error - by El Forum - 10-17-2008, 11:19 PM
Content Encoding Error - by El Forum - 10-18-2008, 03:32 AM
Content Encoding Error - by El Forum - 11-09-2008, 12:17 AM
Content Encoding Error - by El Forum - 11-09-2008, 02:12 AM
Content Encoding Error - by El Forum - 10-06-2009, 10:15 AM
Content Encoding Error - by El Forum - 07-03-2010, 05:44 AM
Content Encoding Error - by El Forum - 05-30-2012, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB