更新WordPress报错:文件流的目标目录不存在或不可写

刚才一个朋友在进行WordPress更新时,遇到报错:文件流的目标目录不存在或不可写(Destination directory for file streaming does not exist or is not writable),具体信息如下:

倡萌首先想到的是网站文件所在的目录读写权限有问题,然后看到对方是宝塔面板,就让他按照下图设置用户组 www 和 755 读写权限:

一般情况下,通过上面的操作就可以了。但对方还说不行,仔细看了下报错,让他在 /www/wwwroot/wordpress/wp-content/ 下新建一个 tmp 目录,并且确保这个目录权限为为 www  755,问题就解决了^_^

来源:

https://www.wpdaxue.com/wordpress-destination-directory-for-file-streaming-does-not-exist-or-is-not-writable.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_33601.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?