Wordpress管理员失败

时间:2012-07-23 22:54:45

标签: php wordpress login

我正尝试在http://www.kzoomarketing.com/tascott/wp-login.php

登录wordpress管理员

我收到此消息:

Warning: Header may not contain more than a single header, new line detected. in /home/absbm/public_html/tascott/wp-login.php on line 361

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-login.php on line 363

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-includes/pluggable.php on line 669

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-includes/pluggable.php on line 670

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-includes/pluggable.php on line 671

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-includes/pluggable.php on line 673

Warning: Cannot modify header information - headers already sent by (output started at /home/absbm/public_html/tascott/wp-login.php:361) in /home/absbm/public_html/tascott/wp-includes/pluggable.php on line 866

我已经删除了login.php末尾的空格,但仍然收到此错误。

我还查看了第361行并将该文件与其他wordpress安装进行了比较,但未发现任何问题。

对此问题的任何帮助将不胜感激。

3 个答案:

答案 0 :(得分:1)

我是同一个问题,我解决了这个问题:

http://wordpress.org/support/topic/warning-header-may-not-contain-more-than-a-single-header-1

joshfraz发布于4年前

我也有这个问题。原来我在siteurl选项的末尾有一个额外的空间。一旦我删除了空间,它工作正常。

所以在你的WP数据库中,请阅读wp_options> siturl并删除值字段中的任何额外空格或换行符。

如果第一种方法无法解决您的问题,其他一些用户会看到utf8 BOM代码问题。

答案 1 :(得分:0)

如果您的文件在<?php?>之前或之后包含空格,通常会弹出这类错误。

如果您有自定义的插件或其他内容,请确保<?php之前没有空格。 ?>通常可以完全省略,以避免出现问题。

答案 2 :(得分:0)

您不应该更改核心文件。

我怀疑你的一个插件文件会导致问题,请尝试逐个停用它们,如果你发现一个删除了最后一个?&gt;在违规文件中。

还有一个插件可以插入所有插件,然后删除所有空格。

相关问题