• Resolved RafaelDeJongh

    (@rafaeldejongh)


    So I recently updated my two webshops to the latest version of WordPress 4.5 and made sure everything is up to date, but then I noticed that on both sites I can’t upload images anymore.

    So then I began to troubleshoot and turned off EWWW Image Optimizer which in return did made it possible again to upload images.

    The error I was receiving when I tried uploading an image was plainly “HTTP ERROR” as you can see here: http://sleekupload.com/uploads/5/httperror.jpg

    And while it did say error the image file still got parsed but as a corrupted file or something: http://sleekupload.com/uploads/5/imgerror.jpg

    Here is a debug log of EWWW Image Optimizer in case that could be useful: http://pastebin.com/rwVEWc2a

    Other than that, I really like to make use of EWWWW Image Optimizer, but currently I can not 😐

    Either way thanks in advance.

    Best regards,
    Rafaël De Jongh

    https://wordpress.org/plugins/ewww-image-optimizer/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Try deferred optimization and see what happens.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    That did not change the error, however I’ve been in contact with my webhost and they told me they changed “some” php files.

    After that, it does seem that that did the trick, but I’m currently unsure what php files have been changed.

    If so I’ll get back to you, I might just have jumped on that this plugin was the culprit while it might have been something else!

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    So a follow up on this, they changed the php ini files to:

    max_execution_time = 3600
    max_input_time = 3600
    memory_limit = 512M
    post_max_size= 1005M
    upload_max_filesize = 1000M

    But after the recent updates it seems that I’m again experiencing this problem, again when EWWW is activated that I’m receiving this error and the ini files are still active, so I’m not sure what the cause of this actually is!

    Plugin Author nosilver4u

    (@nosilver4u)

    That’s strange, since uploads should be faster than ever now. I would recommend installing Firebug for Firefox, and then open the Firebug console on the upload page, reload, and then watch for errors as you’re uploading (make sure it’s logging JS stuff).

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    Pretty much gives me this error: load-scripts.php:35 POST http://www.carlino-fgs.com/WP/wp-admin/async-upload.php 500 (Internal Server Error)

    But on another notice I do experience that the problem is caused when the filename has a special character in it like ‘ or ” which directly causes the error :s

    Plugin Author nosilver4u

    (@nosilver4u)

    If you get a 500 error, then you gotta check the error logs on the server (or have your webhost check for you).

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    The servers error log doesn’t even show any errors and on the ftp server I can’t find any error_log files either.

    I did notice that it appears to happen more with images that contain ” or ‘ besides those I don’t use any special characters, but could that be the cause?

    I am using bulletproof security if that helps!

    Plugin Author nosilver4u

    (@nosilver4u)

    Hmm, does bulletproof have any logs you could look through? Although normally that would throw 403 errors I think, but not 100% sure.
    You could try disabling Bulletproof temporarily, and see if you still have problems. That would at least give us a place to start digging further.
    It’s feasible that the quotes could cause issues, but I’ve not seen that in any of my testing. WP usually replaces those when saving the image from what I remember.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    Other than failed or harmonious login attempts BPS doesn’t log anything. So as you suggested I’ve deactivated it but alas this didn’t change anything.

    I did various tests and my first thoughts were incorrect, even if the files doesn’t have any specific character it still presents me with a HTTP error.

    But on other occasions the same file with another name uploads fine, so it’s pretty random.

    Here are the log files in case this could be useful, but I personally went through them and didn’t find anything directly noteworthy. http://www.mediafire.com/download/nix61s2hmj6gfcd/carlino.oconceptstore.be-Jul-2016.gz

    So yea I’m not really sure to be honest :s

    Plugin Author nosilver4u

    (@nosilver4u)

    Have you updated to 2.9.3? From the logs, it seems your server is failing on all async requests: background processing, parallel processing, etc.
    Do you have any access to the error logs? Otherwise, I’d check with your webhost or whoever manages your server to check those when you upload an image.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    Yes I keep all my plugins up to date to the latest version and it indeed seems something to do with the async always failing.

    I provided the logs to my webhost and they said it had something to do with: output_buffering which was then by them enabled. (output_buffering=On)

    After that the error occurrence reduced, however I still find it strange that with enabling the plugin that the error would occur more.

    But well it seems to just have been a coincidence.

    Sorry for hogging up your time and support but I do appreciate the help!

    Best regards,
    Rafaël De Jongh

    Plugin Author nosilver4u

    (@nosilver4u)

    Would you mind checking with your webhost and seeing if there is anything in particular I could be doing different, or see if they will share the exact error logs? If it’s something I can fix/modify in EWWW, I certainly will try to.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    I will ask it and see if I can provide it! Either way thanks for the superb support and the great plugin!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘HTTP error when uploading images IF EWWW Image Optimizer is enabled.’ is closed to new replies.