我搬到了一个新的服务器上,这个站点是以主题打开的,而wp-admin在打开的主页中没有打开的所有内容,我都在下面这些错误行的顶部:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/example/public_html/example/wp-includes/wp-db.php on line 1409和
Warning: copy(/home/OLDurl/public_html/folderName/wp-content/uploads/redux/google-fonts/googlefonts.html): failed to open stream: No such file or directory in /home/new/public_html/example/wp-admin/includes/class-wp-filesystem-direct.php on line 21管理员页面一点也不打开,给出如下内容:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/example/public_html/example/wp-includes/wp-db.php on line 1409和
Warning: Cannot modify header information - headers already sent by (output started at /home/example/public_html/folder/wp-includes/wp-db.php:1409) in /home/example/public_html/folder/wp-includes/pluggable.php on line 1173发布于 2014-09-15 15:52:10
这是我第二次来这里,也是我第二次回答自己的问题
对于有类似问题的人,只需从htaccess中删除wp-debug即可。
但是我建议你重新安装一份wordpress的新版本,它可能会有问题。
https://stackoverflow.com/questions/25831978
复制相似问题