• Hello,

    I’m have a site hosted on Hostgator. I’m using WP 3.2.1 and Buddypress 1.5.1 (recently upgraded from 1.5). Everything has been working fine for quite a while now until today when I found I couldn’t upload images in my posts. Using the flash uploader I get “http error”. Switching to browser uploader I get:

    “Fatal error: Out of memory (allocated 68681728) (tried to allocate 19008 bytes) in /home/rjking/public_html/wp-includes/media.php on line 254”

    Now I’ve googled “http error” and there are a lot of hits and proposed fixes but most are from several years ago and different version of WP. I’ve evaluated the one that suggests renaming your uploads directory. When I check my settings->media page there is nothing in the “Store uploads in this folder” field and next to the blank field it says “Default is wp-content/upLoads” (note the capital L). I tried to enter “wp-content/uploads” (no capital L) but that didn’t work. I searched my wp-includes folder and found that all my previous uploaded files are in wp-content/uploads/2011/10 but there is another folder in wp-content names wp-content/upLoads .

    Can anybody offer a suggestion on this? Please note I have absolutely no coding experience and would prefer to avoid modifying any .php files or anything like this. My site was build solely from WP + plugins.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tw0handt0uch

    (@tw0handt0uch)

    I’m going to attempt the solutions proposed in this thread since the default upload path somehow got set to upLoads which seeems wrong.

    http://ww.wp.xz.cn/support/topic/photos-not-uplading-properly?replies=10

    I don’t think the .htaaccess security solutions would be the way to go. I know this http error is a common problem but the unique thing about my situation that i haven’t seen in other people’s threads is the error message:

    “Fatal error: Out of memory (allocated 68681728) (tried to allocate 19008 bytes) in /home/rjking/public_html/wp-includes/media.php on line 254”

    Shouldn’t this be a clue (I’m just not experienced enough to understand)? I know my WP setting are set up to allow for uploads bigger than that images I am trying now. And they were uploading fine a few days ago with no significant changes. Quite frustrating. If someone can help me here I vow to become an avenging angel of helpfulness and spread the solution worldwide to others in need!

    Thread Starter tw0handt0uch

    (@tw0handt0uch)

    I guess I should add that I deleted a bunch of images from my media library to see if it was a capacity thing. Doesn’t seem to be the case as I have deleted large files and am failing to upload small images.

    Shouldn’t this be a clue

    Yes. Either:
    – increase the memory available to PHP:
    http://ww.wp.xz.cn/support/topic/253495#post-1017842

    or:

    – upload smaller images.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘http error during media upload to posts’ is closed to new replies.