• Hi dudes.

    I tried to upload images trought WordPress using both the flash uploader and web uploader. But when the image are uploaded, the uploader gives a “Error HTTP” message in red. After all, the image is uploaded, but no thumbnail or medium size images are created, and galleries only show the full size image, messing up the web.

    It′s strange because the same WordPress installation with the same plugins, theme, files, and all, works fine under a localhost server I have for development. Here are the info from PHPInfo from bot hosts, my web host and the localhost:

    This is from the web

    PHP information for https://yggdrasil.nn45.com

    max_execution_time: 30
    max_input_time: 60
    file_uploads: 1
    upload_max_filesize: 8M
    post_max_size: 8M
    register_globals: 1
    safe_mode:
    allow_url_fopen: 1
    eaccelerator.enable:

    Other information:

    PHP Server API: cgi
    WordPress Version: 2.6.1
    WordPress Blog URI: https://yggdrasil.nn45.com
    WordPress Installation URI: https://yggdrasil.nn45.com
    WordPress Theme: /wp-content/themes/yggdrasil
    WordPress Permalink Structure: /%postname%/
    WordPress wp-content directory is writable
    WordPress does not use Gzip Compression
    WP-Cache is running on this installation of WordPress
    GD library is installed
    PHP Version: 4.4.8
    MySQL Version: 4.1.20
    Browser used: Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9) Gecko/2008052906 Firefox/2.0.0.12;MEGAUPLOAD 1.0

    And this from my localhost server

    PHP information for https://127.0.0.1/ynew

    max_execution_time: 3600
    max_input_time: 60
    file_uploads: 1
    upload_max_filesize: 120M
    post_max_size: 8M
    register_globals:
    safe_mode:
    allow_url_fopen: 1
    eaccelerator.enable:

    Other information:

    PHP Server API: apache
    WordPress Version: 2.6.1
    WordPress Blog URI: https://127.0.0.1/ynew
    WordPress Installation URI: https://127.0.0.1/ynew
    WordPress Theme: /wp-content/themes/yggdrasil
    WordPress Permalink Structure: /%postname%/
    WordPress wp-content directory is writable
    WordPress does not use Gzip Compression
    WP-Cache is running on this installation of WordPress
    GD library is installed
    PHP Version: 4.3.10
    MySQL Version: 4.1.9-max
    Browser used: Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9) Gecko/2008052906 Firefox/2.0.0.12;MEGAUPLOAD 1.0

    Anyone have any idea how to fix that?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Did you try all the steps listed here?
    https://www.ads-software.com/support/topic/164999?replies=1

    Thread Starter madcore

    (@madcore)

    Yes, I tried all the steps in that post before write this. None of those works for me.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    What are the two settings set to at the top of your Settings->Miscellaneous screen?

    Thread Starter madcore

    (@madcore)

    The first, the upload folder, is set to “data”.

    The second, full URL path to file, is set to “https://yggdrasil.nn45.com/data/”.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The second one should not have the trailing slash, but I don’t think that would cause your problem. Still, remove the ending /.

    Did you try step 6 in the sticky, the mod_security fix? That one can cause the HTTP error message.

    Thread Starter madcore

    (@madcore)

    Yes, I try the mod_security fix, but the http error still occurs.

    Also, my problem looks like the one on step 8. I saved the image in a proper standard jpg format, and tried upload it again, but the error shows again. So the step 8 solution doesn′t work.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    What “Step 8” are you talking about? Because step 8 explicitly starts off with “It uploads without any errors” and if you’re getting an error, then that’s not step 8 at all, is it?

    Thread Starter madcore

    (@madcore)

    It uploads without any errors, but it does not generate thumbnails! The images show up full size on the page, or they are scaled in a really ugly manner

    That′s exactly what happenned to me, but with a message of Error HTTP instead of no error. I mean, like I said in the post “when the image are uploaded, the uploader gives a “Error HTTP” message in red. After all, the image is uploaded, but no thumbnail or medium size images are created, and galleries only show the full size image, messing up the web.”

    I′ts like the situation exposed in the step 8, but with an error instead of without any.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Ah. Well, that’s really not the same thing at all. The key part of that is the lack of errors, not the existence of the file being uploaded.

    You do have the max_execution_time set fairly low (30 seconds). Perhaps it’s running out of time trying to create those thumbnails or some such thing? Try increasing that value on the server giving the problems.

    Thread Starter madcore

    (@madcore)

    I don′t have control on the config of the web host, because is on Globat, and isn′t a dedicated server. I have sent a mail to support to ask a way to change things like the max_execution_time.

    Anyway, I think the problem comes from the web host and not from the WordPress installation. Why?. I don′t know how, but after try all the steps of the sticky, make some test by myself, and still giving me the error http, I tried again to upload an image. AN IT WORKS FINE NOW!!! Unexplanable… I′m uploading a bunch of images to look if it really works fine now.

    Thanks for all the help anyway, Otto42. You′d been a great support ^_^.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Well, looking through the error logs on the server would tell you whether or not it was an execution time issue. That issue would come and go, sort of thing, depending on server load.

    Thread Starter madcore

    (@madcore)

    I′ll email globat suport for the logs. I don′t want this happen again.

    Also, I′m going to check if some of the plugins I′ve on the WP may crash on some way the media uploader. Maybe this have some relation with the error.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Problem uploading images in 2.6.1’ is closed to new replies.