Update to 4.3.1 Media upload fails
-
Since updating a bunch of sites to WP 4.3.1 I am running into the previously documented issue:
“An error occurred in the upload. Please try again later.”
When trying to add images to the media library.If I try using the multi-file uploader I sometimes get an ‘HTTP error’ message.
Trying to get to the bottom of this on just one site (haven’t yet tried these steps on other sites that are failing) I have tried the following:
1) Deactivated all plugins
2) Reverted to the twenty twelve theme
3) Verified that permissions on the uploads folder and subfolders are set correctly to 755
4) Verified that disk space exists and server quotas have not been reached
5) Cleared all files from /tmp folder.I have tried various images – all with relatively small file sizes – none are uploading successfully.
Observing the response to async-upload.php in Firefox when the ‘HTTP error’ message is presented I am seeing a 403 response to the POST request.
Looking at the error message:
<p>Are you sure you want to do this?</p><p><a href='https://www.mydomain.com/wp-admin/media-new.php'>Please try again.</a></p></body>
If I enter the path to async-upload.php directly into a browser (https://www.mydomain.com/wp-admin/async-upload.php) I am not running into the 403 response –
I am seeing the ‘Are you sure….’ message.Server environment is: Linux 2.6.32-504.12.2.el6.x86_64 on x86_64 / CentOS Linux 6.6
Hoping someone can point me in the right direction to resolve this issue – Thanks!
- The topic ‘Update to 4.3.1 Media upload fails’ is closed to new replies.