winbye 2008-10-8 20:19
刚刚安装了WP,但是登录不了,为什么?
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-login.php[/b] on line [b]267[/b]
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-login.php[/b] on line [b]279[/b]
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-includes\pluggable.php[/b] on line [b]595[/b]
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-includes\pluggable.php[/b] on line [b]596[/b]
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-includes\pluggable.php[/b] on line [b]597[/b]
[b]Warning[/b]: Cannot modify header information - headers already sent by (output started at D:\host\winbye\web\wp-config.php:1) in [b]D:\host\winbye\web\wp-includes\pluggable.php[/b] on line [b]766[/b]
[b]这是什么意思阿!??[/b]
zern 2008-10-8 20:29
你的空间能报这样的错看来是支持的。。可能自己改了什么文件
winbye 2008-10-8 20:33
我在重新安装下?
[color=red][b]问题已经解决! 是我的空间服务商帮我解决的! 我是用记事本改的MySQL数据! [/b][/color]
[color=red][/color]
[color=red][b]UTF8是不能用记事本修改,用editplus或者dreamweaver修改[/b][/color]
[[i] 本帖最后由 winbye 于 2008-10-8 21:02 编辑 [/i]]
vicysunnie 2008-11-22 12:34
最近出了问题...解决再补充点...
php的默认格式是 utf8格式,可是windows的记事本保存utf8格式的时候会包含utf8的签名BOM,也就是在文件的前面会出现一个类似空格的符号。虽然一般这个符号没什么问题,可是php在解析的时候就会出大错!
解决办法:1)用记事本将wp-config.php保存为 ANSI 格式的文本,这样会就可以解决问题了;不过这时候文本就变成gb2312的格式了。
2)用其他的编辑器,比如utraledit,editplus或者是dreamweaver,不过用dreamweaver的时候要注意选择编码格式,一定要取消包含Unicode的签名(BOM),要不然还是会出错的。