WordPress升级错误:class-wp-filesystem-direct.php on line 200

错误描述:WordPress在后台进行版本升级时,出错,之后进入前台或者后台,都无法访问进入,错误信息如下:

Warning: copy(/home/xxx/public_html/wordpress/wp-admin/menu.php) [function.copy]: failed to open stream: Permission denied in /home/xxx/public_html/wordpress/wp-admin/includes/class-wp-filesystem-direct.php on line 200

Warning: copy(/home/xxx/public_html/wordpress/wp-admin/menu.php) [function.copy]: failed to open stream: Permission denied in /home/xxx/public_html/wordpress/wp-admin/includes/class-wp-filesystem-direct.php on line 200

错误原因:FTP写入权限不够。

解决办法:

同《WordPress升级错误:class-wp-filesystem-direct.php on line 122

特别注意:请在自动升级完成之后修改wp-content文件夹权限回755,否则将影响程序安全。

发表评论

电子邮件地址不会被公开。 必填项已用*标注