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

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

我在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.

Please contact the website owners to inform them of this problem.

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。求解。

【热门文章】
【热门文章】