【php】WordPress棘手安装失败问题
来源:百度知道 编辑:UC知道 时间:2024/05/12 20:19:15
在网上也搜索了很多方法但都没有用,我的wp安装好了之后,登录的时候出现了下列信息。
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-login.php on line 290
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-login.php on line 302
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-includes\pluggable.php on line 662
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\w
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-login.php on line 290
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-login.php on line 302
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\wp-config.php:1) in F:\clientweb\loveqq1943\wwwroot\author\wp-includes\pluggable.php on line 662
Warning: Cannot modify header information - headers already sent by (output started at F:\clientweb\loveqq1943\wwwroot\author\w
应该是php.ini的配置文件的问题,你打开该文件,修改此处为session.auto_start = 1。
在 wp-config.php 文件中加下一行:
error_reporting(0);
这不是错误,是警告。
你的php文件里面重复设置了头信息,找到后删掉或者改下代码就行了。