• Resolved hearthmoon

    (@hearthmoon)


    I started having a problem with getting a message of “http error” when I try uploading a picture from my computer to media library a few weeks ago with 3.8. I hoped updating to 3.9 would fix the problem but it hasn’t. My photos are well within the max size.

    I have tried disabling plugins which did not work. I also tried changing file permissions on my ftp server.

    I am not willing to delete my blog and reinstall WordPress (been up for over 2 years now) or change to a default template (it took days to get the blog looking the way I want it and from what I’ve read this doesn’t usually work anyway). Any other ideas?

Viewing 15 replies - 1 through 15 (of 28 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check your server’s PHP error log for one. That particular error comes from a lot of places, one of which is running out of space in your temp folder on the server so it can be hard to debug :/

    Thread Starter hearthmoon

    (@hearthmoon)

    php_errorlog is blank in main folder associated with domain name, as well as in wp-admin and wp-includes, the other two places I could find a file with that name. I don’t see anything named a “temp folder”–could it be under a different name? I do have a LOT of images on this blog. https://hearthmoonblog.com

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The temp folder is on the server’s root level, called /tmp or /temp

    Ask your webhost if they can check if temp is full ??

    I think I’ve found a solution.

    I’ve been having the same problem since 3.8. I hoped that 3.9 would sort it, but it didn’t… I checked my temp folder and that wasn’t the problem but I believe that I have just worked out what went wrong.

    Since 3.8, my settings seem to have changed so that my database automatically backs up. In Cpanel, I found that I had 11 database backups and I think that was what was chewing up space. I’ve just deleted them and reuploaded the image, and it resized and uploaded with no problem. I have designed a theme which allows me to upload images of any size, and they are automatically resized into a large size and a thumb size, and then the original is deleted. I have had upload problems since December and have had to manually resize images to be smaller than 1MB in order for them to upload… before 3.8 I never had this problem.

    So the short suggestion … Try deleting your backups from your server space (download them first if you haven’t already) and see if that frees up space and sorts out your problem.

    ETA: This solution allowed me to upload 1 image to 1 post… but I’m still getting the upload error message. I’ll leave my advice up in case it helps anyone else, but it doesn’t seem to have solved the problem completely. Frustrating.

    Thread Starter hearthmoon

    (@hearthmoon)

    I have found the temp folders on my control panel. It doesn’t look like that’s the problem, but I have placed a request with my host provider to make sure. Having excessive backups on your server would cause problems, but that is not happening in my case.

    I’ve been in touch with my hosting company. They tried increasing my memory limit and execution time for uploads – neither of these options made any difference to me. The weird thing was that using a test site, my hosting company could upload images of any size, so it appeared to be a problem my end. I always use Firefox as my browser but shifted over to Google Chrome to see if it was a browser issue… and it works. Resizes images, and uploads successfully. I have no idea what the problem with Firefox is as it has always worked before. Maybe I changed some of my settings and they’ve altered something… But that was my solution anyway. Hope this helps.

    Thread Starter hearthmoon

    (@hearthmoon)

    I heard from my hosting company today. Temp folder is not full. The browser I’m using is Explorer. When that didn’t work I tried Firefox. I guess I’ll install Chrome and see if that works.

    Thread Starter hearthmoon

    (@hearthmoon)

    I’m seeing the same error in Chrome. Still having problems with this.

    Thread Starter hearthmoon

    (@hearthmoon)

    Changing to default theme did not work.

    Hello I am using the new 3.9 version at https://www.historicphilippines.com and am having the same problems list above. I have tried all the suggestions provided. I have deleted the several backups I had stored on the server (12) and that seemed to work. But when I had loaded about 8 or 9 news photos, properly sized, it started again. What’s to do?

    Count me in as having the same issue as well. I just upgraded to 3.9 and the problem started. I have plenty of space on my server. I am trying to upload 1 png file that is 21kb in size.

    To follow up. I have changed the theme to 2014 and it seems to be working OK, what should I do now?

    Thread Starter hearthmoon

    (@hearthmoon)

    Still having this problem. I have also been speaking with my host and they haven’t been able to fix it.

    My problem seems to be worse. I just tried Safari and Firefox and it doesn’t display WP-ADMIN at all. I can login fine but I just see a blank white screen. Chrome is displaying admin correctly but still getting the upload errors.

    I also noticed NONE of my existing media files are displaying in the Media Library.

    I am using a Mac OSX 10.9.2
    Firefox 28.0
    Safari 7.0.3
    Chrome 34.0.1847.116

    Thread Starter hearthmoon

    (@hearthmoon)

    Okay, I’m getting some more information about this…I just noticed that the media size on my uploaded pictures that have the http error are showing 1 pixel by 1 pixel. When I change the pixels in the html code for both the picture and the caption it is displaying okay. Still getting the http error on upload though. I guess I’ve found a workaround, but obviously this needs a better fix.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Media image upload http error’ is closed to new replies.