admin管理员组文章数量:1424395
WordPress is a great CMS but when it comes to debugging and error reporting it becomes pretty annoying. I've been searching a solution for my problem for quiet a while now. Unfortunately without any success or any clues. At some point you just get stuck and start typing a stackexchange question, like I'm doing now...
The problem
I can't upgrade or update from WordPress, however I'm able to upload media. Of course I want to be able to update plugins, themes and upgrade the core from the WordPress admin panel. Said shortly, I want to be able to use the FS_method direct.
The error
In case of a upgrade it returns:
Could not create directory.: wordpress
In case of a update it returns:
An error occurred while updating Example: Could not create directory. example
My setup
My server uses nginx and I tried chmod everything in the WP install to 775 and I also tried 777. Except the 'example/test' directory (755) and the 'example/index.php' file (644). I've a configuration file similar to this paste. I also tried to change the tmp folder to a local directory with perms set to 777.
The test
Since WordPress says that it's not able to create a directory (permission related). I decided to do a simple permission test, using this code, with this is the result. In this test I use is_writable()
to check the permissions, the red file names are not writable.
The file with the script (permtest.php) was located at the wp root location aka doc root. I also tried to put the script in a separate directory (example/index.php is the same script) here is the result for that second test.
本文标签: updatesFS method direct on NGINX
版权声明:本文标题:updates - FS method direct on NGINX 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745343149a2654357.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论