我搬到了一个新服务器,该网站正在打开主题和所有内容 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
答案 0 :(得分:-1)
大声笑这是我第二次来这里,第二次回答我自己的问题
好吧,对于任何有类似问题的人,只需从htaccess中删除wp-debug
即可但我建议你重新安装wordpress的新副本,它可能有问题