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

WBOY
Libérer: 2016-06-06 20:46:54
original
1002 Les gens l'ont consulté

我在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>
Copier après la connexion
Copier après la connexion

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>
Copier après la connexion
Copier après la connexion

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

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!