GZIP conflict caused PHP file error 330 (net::ERR

  

Today, a customer reported that ecshop's verification code could not be displayed, log in to the page displaying the verification code, and a red x is displayed there. Copy the verification code address and find Is /admin/index.php?act=captcha&535678358, such a php file opens after the prompt: error 330 (net::ERR_CONTENT_DECODING_FAILED): unknown error

Since there are detailed errors, the first step is definitely Search engine search, see if there is ready-made experience to solve. So Baidu, a bunch of results came out, almost without exception, Gzip conflict. Ask the customer, whether to set up gzip in the program The answer is yes.

Then the following question is just right, let the customer close gzip, open the website again, the verification code comes out.

Like the previous articles, attach one Common system shutdown method:

phpwind forum system: \\data\\bbscache\\config.php modification: $db_obstart=’1′;$db_obstart=’0′; After logging in to the forum Find the forum core settings & ndash; core function settings, prohibit GZIP function. The background login address is: http://your domain name/admin.php

discuz forum system:

Method one: Use ftp to enter the forum to download forumdata/cache/cache_settings.php to the local, modify the ‘gzipcompress’ => 1, change to ‘gzipcompress’ => 0, save after the modification is completed. Upload back. Your forum You can access it. Then log in to the forum background and find the basic settings & ndash; server optimization, prohibit GZIP function. Background login address: http://your domain name/logging.php?action=login

Method 2:

Upload the attached program to your forum root directory. Run it. Close gzip.rar After running, the page is blank, but gzip has been closed. Open the home page again

Method 3:

Try using the tools tool to upgrade sql: UPDATE `cdb_settings` SET `value` = ’0′ WHERE CONVERT( `variable` USING utf8 ) = ‘gzipcompress’ LIMIT 1 ; tools tool download Http://www.discuz.net/th Read-761181-1-1.html After the upgrade, clear the files under forumdata/cache and forumdata/templates, and then revisit the supesite website system: Log in to FTP, modify the config.cache.php file in the data\\system directory, and find & rsquo; Gzipcompress’ => 1, changed to: & rsquo;gzipcompress& rsquo; => 0, and then enter the background to officially close SupeSite/X-Space background address: http://your domain name/?action-login clear local cookie 4, ShopEx Mall: 4.7.1 version solution: Due to the flaws in the ShopEX design, you can not modify the settings separately, you need to download the modified index.php file to replace the index.php under the root directory of your website. Click here to download version 4.7.2 Solution: Find the mall_config.php file in the include directory of the root directory (this file will be available after the installation is successful), add the following paragraph before ?> to turn off the system's gzip function define(‘SYS_GZIP’, False); ShopEx Mall background address is: http://your domain name/syssite/shopadmin/5, SaBlog Blog: Login FTP, download cache/cache_settings.php this file , change the ‘gzipcompress’ => ’1′ on line 64 to ‘gzipcompress’ => ’0′, then upload the overlay back. SaBlog blog background address is: http://your domain name/?action-login 6, dynamic network PHP version forum: Login FTP, download global.php under the forum root directory, find the following, if (!$zliboutputenable AND function_exists (‘ob_gzhandler’)) {$db_obstart = 1; Modified to if (!$zliboutputenable AND function_exists(‘ob_gzhandler’)) {$db_obstart = 0; then upload the overlay. 7, Ecshop: ECSHOP Management Center – Store Settings - Basic Settings - Whether to enable Gzip mode: Disable

Copyright © Windows knowledge All Rights Reserved