7
12
今天安装wordpress2.51中文版把我头搞大了,因为几遍了老是一样的错误摆在我面前。登陆wrdpress时的提示画面如下:
Warning: Cannot modify header information - headers already sent by (output started at /home/blogmoxi/public_html/wordpress/wp-config.php:1) in /home/blogmoxi/public_html/wordpress/wp-login.php on line 202
Warning: Cannot modify header information - headers already sent by (output started at /home/blogmoxi/public_html/wordpress/wp-config.php:1) in /home/blogmoxi/public_html/wordpress/wp-login.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/blogmoxi/public_html/wordpress/wp-config.php:1) in /home/blogmoxi/public_html/wordpress/wp-includes/pluggable.php on line 552
Warning: Cannot modify header information - headers already sent by (output started at /home/blogmoxi/public_html/wordpress/wp-config.php:1) in /home/blogmoxi/public_html/wordpress/wp-includes/pluggable.php on line 689
查了很多资料(百度,google),最终适用这种状况的方法就一种,那就是在编辑wp_config.php文件时,改用notepad++或ultraedit或editplus,会默认检测utf8并转换成unicode文件而避免用微软的记事本造成Uft8编码与Bom编码冲突。
网友评论:
添加评论