For a client of mine, I have moved their webpage to a VPS by request. But I’m a web developer and not good at server configuration.
Due to a permission misconfiguration, in my opinion, I cannot fetch images in Media library, no error or sth. Also when I try to upload a new one, it completes the Uploading process, but gets stuck in Processing process and gives a 403 error on async-upload.php.
I have tried 755 and 777 permissions on both wp-content and wp-content/uploads, doesn’t solve the issue.
Any help would be appreciated.
Edit: Logs added.
These are from requests.log
*.252.164.35 - - [20/Nov/2015:18:14:48 -0500] "GET /xml_feed/********.php HTTP/1.1" 200 1861
*.252.164.35 - - [20/Nov/2015:18:14:51 -0500] "GET /xml_feed/*****.php HTTP/1.1" 200 394
*.252.164.35 - - [20/Nov/2015:18:14:52 -0500] "GET /xml_feed/***.php HTTP/1.1" 200 359
*.253.241.91 - - [20/Nov/2015:18:14:50 -0500] "POST /wp-admin/async-upload.php HTTP/1.1" 200 11
*.253.241.91 - - [20/Nov/2015:18:14:53 -0500] "POST /wp-admin/async-upload.php HTTP/1.1" 403 3214
Edit 2: Gave all folders 777 permission, now I can re-install my WP setup and update my plugins from panel, but Media Library problem still exists, async-upload.php still gives 403 error.
The issue for me was linked to an
auto_increment
issue on the database.Here’s what fixed it for me:
As taken from here
When I changed servers I used a find and replace in my DB for the folder structure
/folder_name/public_html/blog
->/srv/www/html/blog
. This tool works pretty good interconnect. I tried originally with find and replace in notepad butOR
It seems a misconfigured plugin causes this problem. Topic can be closed.