WP诡异问题之“无法建立目录wp-content/uploads”,有没有上级目录的写权限?”

常用教程评论3,4311阅读模式

这个提示后面还跟着一个风骚的问号,您这是问我呢?

我当然知道没权限不行,但是我有权限啊,你这个扑街到底是为什么?文章源自原紫番博客-https://www.yuanzifan.com/54536.html

改了差不多全部文件夹的权限还是不行,最后一步步查代码,终于查出来了文章源自原紫番博客-https://www.yuanzifan.com/54536.html

原来是wp_options表里面,有一个Uplolad_path。这个值之前被写死了一个固定值,这个固定值因为换了主机,所以已经失效。这才导致了这个问题。一般来说,把这个值设为空,即可修复。文章源自原紫番博客-https://www.yuanzifan.com/54536.html

文章源自原紫番博客-https://www.yuanzifan.com/54536.html 文章源自原紫番博客-https://www.yuanzifan.com/54536.html

 

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证