• Resolved curlybracket

    (@veganist)


    Hi,

    I have seen several posts here, describing more or less the same issue. However, I did not yet find a solution.

    So, some images fail to upload correctly, causing an http error. This happens with both the browser uploader and the flash uploader.
    Most of the time, ist happens with “bigger” images than 500px width. The uploader stops at /wp-admin/media-upload.php?inline=&upload-page-form= displaying an error 500.
    The image gets uploaded, but wordpress is unable to create thumbnails for it, and it cannot determine the size of the image, which is displayed as being 0x0 pixels.

    • Running WP 2.8.5.
    • My PHP.ini’s memory limit is 40MB.
    • PHP version is 4.4.9.
    • MySQL version is 4.0.

    I have disabled all plugins.
    I have tried adding wp_footer(); to my theme.
    I have tried adjusting the paths for uploading media to absolute paths, but this does not work, switched back to “wp-content/uploads”.
    I have also disabled the mod_security.c via htaccess.

    Nothing helps. So I suppose that the issue is about PHP5.. Unfortunately I am on a mutualised server.

    Any other ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter curlybracket

    (@veganist)

    Ok, the problem is definitely PHP5. I have found a way to activate PHP5 via the htaccess file on the server, adding :

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Now the upload works correctly. Yay!

    Thank you Veganist – your fix WORKED. I added that text to my .htaccess file in the root directory of my WordPress site and suddenly the Flash uploader and the Browser-based uploader worked.

    Note to everyone reading this: the size of your image might be bombing-out the uploader. Make sure it isn’t ginormous. I downscale images to 1280×960 or thereabouts before uploading. Please consider…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image upload broken, HTTP Error 500’ is closed to new replies.