WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "HTTP error" when uploading images (6 posts)

  1. sch0k
    Member
    Posted 1 year ago #

    I have an issue after upgrading to WP 3.5 that I could not resolve following what seemed to help others.

    Uploading any but very small images generates a statement "HTTP error" in the upload screen. The uploaded image is visible in the media library, and I can click on 'edit', but when I then want to e.g. resize or otherwise manipulate it, it says that there is no image data and I should re-upload.

    - Same issue in different browsers
    - Memory size is 256M
    - Disabling all Plugins didn't help
    - Running Twenty-Twelve Theme didn't help
    - WP_DEBUG does not return any hints
    - even 900px width images, 150KB don't upload. A smaller 45KB image uploaded successfully
    - I have tons of free space on the server

    Help?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you checked your site's error logs for clues?

  3. sch0k
    Member
    Posted 1 year ago #

    No, it seems I only can access them the next day - any cues you'd be looking for?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Anything related to image uploading or memory.

  5. sch0k
    Member
    Posted 1 year ago #

    I got a solution with my host's support: they recommended to chmod uploads to 777 which I didn't want to do, but I found in the process that a combination of stopping to grant PHP user access through .htaccess (by running CGI mode) and giving instead site ownership to www-data solved it without 777.
    Still not sure why this works different than before...

  6. forthinc
    Member
    Posted 1 year ago #

    I am having a similar issue and tried everything you list in your original post. In your last post you seem to have solved it, but what exactly does this mean?

    stopping to grant PHP user access through .htaccess (by running CGI mode) and giving instead site ownership to www-data

Topic Closed

This topic has been closed to new replies.

About this Topic