Viewing 9 replies - 1 through 9 (of 9 total)
  • What did the error message say?

    Thread Starter sepruda

    (@sepruda)

    HTTP error

    Was there a number provided, e.g. 301, 302, 404, 500, etc? There are numerous http errors and can be caused by numberous issues.

    Were there any issues reported by PHP or with a message such as “memory exhausted when trying to allocate…”.

    Without specifics, it’s incredibly hard to impossible to diagnose the problem and fix it.

    Thread Starter sepruda

    (@sepruda)

    Sorry, it was 404.

    Hmm… that’s really weird. The plugin doesn’t add any web pages to the upload process, it just injects a function into upload mechanism, so as far as I’m aware there shouldn’t be a 404 error cropping up. If you were getting a 404 error which is quite a serious one, then everyone should get a 404 error (including myself as I use the plugin on around 10 websites).

    Would it be possible for you to attempt to redownload and re-install the plugin? i.e. make sure you completely delete it before reinstalling it – it’ll just be as simple as deleting the plugin folder, it won’t break anything. Perhaps you are missing a plugin file for some reason so reinstalling it will put it back.

    Thanks
    Phil

    Thread Starter sepruda

    (@sepruda)

    I just deleted the plugin and did a new install, activated the plugin and the resizing option. When uploading a big image, I get the HTTP error again – although no number, so maybe I remembered it wrong.

    I too am getting this error. I’ve only just installed this plugin so can’t say if this was due to a recent update or anything.

    I’ve done some quick diagnosis. I can still upload images successfully which are below the resize limit I set with the plugin. However, when I try to upload an image larger I experience similar symptoms to @sepruda. The ajax uploader fails only returning the message ‘HTTP Error‘. Using the browser uploader fails silently. Inspecting the request shows it was a 500 error but it too was silent. After enabling ‘WP_DEBUG‘ the server spat out this with the 500 response:

    Fatal error: Call to undefined function imagecreatefromjpeg() in /var/www/html/studio/wp-content/plugins/resize-image-after-upload/class.resize.php on line 183

    I have ImageMagick installed on my server but not GD:

    imagick module	enabled
    imagick module version	3.1.2

    WordPress is able to resize images itself, however, via the Edit Image page.

    Thanks for the great feedback. I’ll be sure to check this out. I’m investigating the wp_image_resize function that could probably replace a lot of the custom resize code and will detect automatically whether to use ImageMagik or GD. I’ll keep you posted.

    Hi,

    This should now be resolved with version 1.7. I’ve completely re-engineered the plugin’s resizing methods to use WP_Image_Editor, so now if your server has ImageMagick, it’ll use that!

    Sorry for the delay. Please report back if it helps.

    Kind regards
    Phil

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘HTTP error’ is closed to new replies.