wordpress中install.php on line 36错误的解决方法

2010年02月5日11:17:15 发表评论 热度3,623 ℃
摘要

在安装wordpress时,有时会出现Warning: Cannot modify header information – headers already sent by (output started at D:\xampp\htdocs\wordpress\wp-config.php:1) in D:\xampp\htdocs\wordpress\wp-admin\install.php on line 36这样的错误,其实这是因为我们在修改wp-config.php文件在保存时编码出现了问题,解决的办法如下

        在安装wordpress时,有时会出现Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\wordpress\wp-config.php:1) in D:\xampp\htdocs\wordpress\wp-admin\install.php on line 36这样的错误,其实这是因为我们在修改wp-config.php文件在保存时编码出现了问题,解决的办法如下:

将wp-config.php用记事本打开,另存为ANSI格式,然后用EditPlus将文件打开,将文件最后一行的空行删除,然后另存为utf8,注意,不是utf8+BOM

将文件重新上传覆盖原文件即可。

记得一定要用EditPlus这个软件或者同类软件!

本文最后更新于:2018-12-03 16:53
瓜皮猪

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: