Compression Error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aquaticedge
    New Member
    • Mar 2009
    • 21

    Compression Error?

    I am getting an odd Error I hope is easy to fix, This is the exact text of the error. Any Ideas? Install Went perfectly, I can access the Admin CP. but the index is getting this.
    "Content Encoding Error



    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    * Please contact the website owners to inform them of this problem."
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    First, try turning GZIP off here:

    Admin CP -> vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output -> No

    Sometimes this problem is caused when your server is already using GZIP and by turning this on in vB you were double compressing. This causes problems with some pages but not others. It also happens to some people and not others.

    If you cannot log into your Admin CP, you can run these queries in the SQL tab in phpMyAdmin:

    UPDATE setting SET value = '0' WHERE varname = 'gzipoutput';

    UPDATE datastore SET data=REPLACE(data,'s:10:"gzipoutput";i:1;','s:10:"gzipoutput";i:0;') WHERE title='options';

    Or you can also edit config.php and add this line:

    DEFINE('NOZIP', 1);

    ...right under the <?php line to disable GZIP.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Aquaticedge
      New Member
      • Mar 2009
      • 21

      #3
      Thanks, I forgot to set $config['Database']['force_sql_mode'] to True. It's working now

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...