Home >Backend Development >PHP Tutorial >thinkphp3.2开发排错一例——Conf下的配置文件经记事本修改后导致网站打不开的异常

thinkphp3.2开发排错一例——Conf下的配置文件经记事本修改后导致网站打不开的异常

WBOY
WBOYOriginal
2016-06-13 11:56:091108browse

thinkphp3.2开发排错一例——Conf下的配置文件经记事本修改后导致网站打不开的错误

Conf下的配置文件编码是utf8,经过记事本修改后导致网站打不开的错误,用ie、360、chrome浏览器均提示无法显示此网页,而用firefox浏览器则提示如下:

内容编码错误
您尝试查看的页面无法显示,因为它使用了无效的或者不支持的压缩格式。

firefox提示的很明确啊,以后可以多用firefox了

用notepad++打开文件后,点击菜单中的格式后发现编码是utf8编码,修改为utf8无BOM格式编码即可,是用记事本修改后导致的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn