|
本帖最后由 bidi 于 2024-10-16 08:44 编辑
已解决,搬家后所有者变成root了,我改成www 就正常了 。谢谢各位。
无法将上传的文件移动至 wp-content/uploads/2024/10。
网站换域名了,同台服务器给网站搬了个家,老域名跳转到新域名。然后新域名上传图片就出现这个错误。
搬家很多次,第一次出现这个错误。刚又测试了老网站,是正常的。就把文件、数据库复制到新域名,怎么就出错了 ?
百度的这些都检测了,都正常。求大神帮看看
用户投稿上传图片出错日志:
2024/10/15 23:37:45 [error] 29162#0: *986626 FastCGI sent in stderr: "PHP message: PHP Warning: imagejpeg(../../../../wp-content/uploads/2024/10/erphpdown/a1f158148515667b7e4e2161969a634e.jpg): failed to open stream: Permission denied in /www/wwwroot/www.mu.com/wp-content/themes/modown/action/image.php on line 41" while reading response header from upstream, client: 223.66.176.150, server: www.mu.com, request: "POST /wp-content/themes/modown/action/image.php HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "www.mu.com", referrer: "https://www.mu.com/tougao" |
|