安装wordpress中出现的问题

来源:百度知道 编辑:UC知道 时间:2024/06/22 07:24:17
在进入/wordpress/wp-login.php 时出现
Warning: Cannot modify header information - headers already sent by (output started at /home/u88wl0/public_html/yilou/wordpress/wp-config.php:1) in /home/u88wl0/public_html/yilou/wordpress/wp-login.php on line 255

忽略错误继续登录又出现 ,无法进入后台
Warning: Cannot modify header information - headers already sent by (output started at /home/u88wl0/public_html/yilou/wordpress/wp-config.php:1) in /home/u88wl0/public_html/yilou/wordpress/wp-login.php on line 267

Warning: Cannot modify header information - headers already sent by (output started at /home/u88wl0/public_html/yilou/wordpress/wp-config.php:1) in /home/u88wl0/public_html/yilou/wordpress/wp-login.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /home/u88wl0/public_html/yilou/wordpress/wp-config.php:1) in /home/u88wl0/public_html/yilou/wordpress/wp-login.php on line 267

Warning: Cannot modify header informat

安装WordPress方法:
1、使用FTP上传工具进行上传,以FlashFXP上传工具为例,点击菜单栏上的“FTP”--->“快速链接”,这时会弹出快速链接对话框。

2、在对话框的“服务器或URL”中输入他们分配给你的FTP上传地址、FTP上传账号以及FTP上传密码

3、登录进去后,把WordPress相关文件通过FTP上传工具,上传到空间中。

4、使用他们系统分配给你的域名安装WordPress,安装过程中的需要配置文件,修改wp-config.php文件,需要内容如下:
define('DB_NAME', 'wordpress'); // 数据库名 define('DB_USER', 'root'); // 数据库用户名 define('DB_PASSWORD', '123456'); // 数据库密码
修改好这些,就就OK了
你本地测试成功,那上传到空间上应该也没有问题,你在试试

用一个原装的wp-config覆盖你ftp目录下的试试。