• Resolved hogboy

    (@hogboy)


    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hogboy

    (@hogboy)

    I figured out what my problem was with this particular site –
    Although I had deactivated all plugins there was a setting remaining in the wp-config.php. Once I had removed this I was able to upload image files – happy daze.

    I’m having an issue uploading media (specifically images) as well and yours is the only post I’ve found on the same version with the same issue.

    >Although I had deactivated all plugins there was a setting remaining in the wp-config.php. Once I had removed this I was able to upload image files – happy daze.

    Mind sharing what that setting was so I can give that a try? I’ve deactivated all plugins, tried multiple browsers and clearing caches/tmp folders with no luck

    Moderator t-p

    (@t-p)

    @hogboy
    For the benefit others, can you please quote the setting you removed?

    @Avalux Audio,

    If the above does not help, then, as per the Forum Welcome, please post your own topic. That way you stand a good chance of getting full attention to your specific issue. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.

    I too am experiencing persist ‘HTTP error.’ messages while uploading media to a 4.3.1 site.

    I have tried:

    1. Deactivating aps
    2. Changing theme to 2015
    3. Reinstalling WP 4.3.1
    4. Re-setting plug-ins via FTP
    5. Looking at wp-config (not sure, but it looks OK)
    6. Looking at htaccess (not sure, but it looks OK)

    Any advice would be really appreciated.

    i have the same proplem
    An error occurred in the upload. Please try again later.
    after updated to version 4.3.1
    any solution ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update to 4.3.1 Media upload fails’ is closed to new replies.