Announcement

Announcement Module
Collapse
No announcement yet.

Compression Error?

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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."

  • #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


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

      Comment

      Working...
      X