wordpress安装插件导致报错:Content Encoding Error?

WBOY
發布: 2016-06-06 20:46:54
原創
1002 人瀏覽過

我在wordpress后台安装了一个插件:html in categores and pages,然后导致打开页面出现这样的错误:

Content Encoding Error

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

<code>Please contact the website owners to inform them of this problem.
</code>
登入後複製
登入後複製

PHP版本是5.24 。网上搜搜索了一下,千篇一律都是这种方法:

2、PHP代码ob_start('ob_gzhandler')导致的,导致的原因有两种:

a、服务器不支持这种压缩格式,可使用function_exists('ob_gzhandler')判断,解决方法
ob_start('ob_gzhandler')改为ob_start();

b、使用ob_start('ob_gzhandler')时候前面已经有内容输出,检查前面内容以及require
include调用文件的内容。若无法找到可以在调用其它文件前使用ob_start(),调用之后使用 ob_end_clean ()
来清除输出的内容;

3、set_magic_quotes_runtime()函数:

但是我不知道在哪里改,我的PHP版本是5.24。求解。

回复内容:

我在wordpress后台安装了一个插件:html in categores and pages,然后导致打开页面出现这样的错误:

Content Encoding Error

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

<code>Please contact the website owners to inform them of this problem.
</code>
登入後複製
登入後複製

PHP版本是5.24 。网上搜搜索了一下,千篇一律都是这种方法:

2、PHP代码ob_start('ob_gzhandler')导致的,导致的原因有两种:

a、服务器不支持这种压缩格式,可使用function_exists('ob_gzhandler')判断,解决方法
ob_start('ob_gzhandler')改为ob_start();

b、使用ob_start('ob_gzhandler')时候前面已经有内容输出,检查前面内容以及require
include调用文件的内容。若无法找到可以在调用其它文件前使用ob_start(),调用之后使用 ob_end_clean ()
来清除输出的内容;

3、set_magic_quotes_runtime()函数:

但是我不知道在哪里改,我的PHP版本是5.24。求解。

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!