Help - Search - Members - Calendar
Full Version: Captcha Error
Movable Type Community Forum > Using Movable Type > Commenting System
Likeless
I have enabled MT default CAPTCHA in the comments settings.

When I go to the registration form, I get a broken image link. When I paste tahat link directly into the browser, I get this:

CODE
Image error: Exception 425: Corrupt image `/my/web/htdocs/mt/images/captcha-source/j.png'

I've done all the basic checks I can think of:

  • Image::Magick is installed and CaptchaSourceImageBase is correct in mt-config.cgi
  • That path does indeed point to the right location.
  • I've tested it several times, with 7 different letters. Same result each time.
  • The image files check out fine in my art package, and also on the command line using the imagemagick tool identify.
  • I've even copied and pasted the 4-5 lines of code from Captcha.pm where this error is occuring, and run it in a new cgi script, where it runs without any errors.


Any ideas how I might proceed now will be gratefully received!
sarah

There may be an issue with the graphics libraries being used to read the images files. We would suggest contacting your web host and ask them if they are able to update the libpng library on your server, then upgrade the ImageMagick application and Image::Magick perl module on the server to the most recent version.
Likeless
Unfortunately this update had no effect and the behaviour is persisting exactly as before.

libpng is installed and up to date to its latest version

ImageMagick was updated to version 6.0.7.1-17.el4_6.1

ImageMagick-perl was updated to version 6.0.7.1-17.el4_6.1

This is on CentOS 4. These are all the latest versions in the CentOS depositories.

murdocjern
I'm having the same issue. Captchas had previously been working fine. Then one day last week they just stopped working. I get the same Exception 425 error.

I can display the .png just fine in my browser by entering the address manually.
murdocjern
I'm continuing to look into this and submitted a ticket to my host with no luck.

QUESTIONS for Likeless: I see that you posted your message on the same day that I began having trouble after months of no problems. Did you problems start on May 13-15?

You wouldn't happen to be hosted at JaguarPC, would you?
Likeless
QUOTE (murdocjern @ May 24 2008, 10:02 PM) *
I'm continuing to look into this and submitted a ticket to my host with no luck.

QUESTIONS for Likeless: I see that you posted your message on the same day that I began having trouble after months of no problems. Did you problems start on May 13-15?

You wouldn't happen to be hosted at JaguarPC, would you?


I'm not, and my problems started before then, but perhaps JaguarPC switched their system to using the smae version of Imagemagick I'm using on that day.

I'm using CentOS 4 and I used yum to install ImageMagick and PerlMagick.

Ask JaguarPC if they are doing the same thing. We might be able to learn something from that.
OtherNiceMan
Does mt-check report ImageMagic installed? If so what version?
murdocjern
QUOTE (OtherNiceMan @ May 28 2008, 12:51 PM) *
Does mt-check report ImageMagic installed? If so what version?


Image::Magick installed (version 6.4.0)

This had worked just fine for months until it stopped working on the same day on two separate MT 4.01 installations. One of them I have since upgraded to 4.1 with no change. I have also moved to a different server at the same host with no change.

I'm checking to see if they upgraded ImageMagick at the time I started having issues.
Gamewatcher
I'm having this issue too! My host is Westhost and they upgraded my server last Thursday. I didn't check the CAPTCHA images right after the upgrade, but noticed they were broken today when a friend contacted me unable to comment.

I'm running Movable Type version: 4.01 (haven't had time to upgrade to 4.1; it's on my to do list!)
My server has Image::Magick installed (version 6.3.2).

Not sure about libpng or how to check. It didn't appear in the MT report I ran, and I'm unable to get to the control panel my host provides to check and add certain apps and libraries myself. I do have a support request in with them now. When they respond, I will follow up on this as well.

I've spent an hour on this so far today and I'm out of ideas for the moment. Very frustrating; I will probably have to disable CAPTCHA and go back to requiring TypeKey for the time being. And this after literally years of trying to add CAPTCHA and get it working!

Gamewatcher
Hm, I just saw the part about pasting the URL to the image. I tried this and got a different error:

Image error: Exception 420: no decode delegate for this image format `/var/www/bgn/mt-static/images/captcha-source/m.png'
sherab
My provider is JaguarPC and I have had this same problem. Has anyone solved this yet?
Julian

QUOTE (Likeless @ May 16 2008, 12:09 AM) *
I have enabled MT default CAPTCHA in the comments settings.

When I go to the registration form, I get a broken image link. When I paste tahat link directly into the browser, I get this:

CODE
Image error: Exception 425: Corrupt image `/my/web/htdocs/mt/images/captcha-source/j.png'

I've done all the basic checks I can think of:

  • Image::Magick is installed and CaptchaSourceImageBase is correct in mt-config.cgi
  • That path does indeed point to the right location.
  • I've tested it several times, with 7 different letters. Same result each time.
  • The image files check out fine in my art package, and also on the command line using the imagemagick tool identify.
  • I've even copied and pasted the 4-5 lines of code from Captcha.pm where this error is occuring, and run it in a new cgi script, where it runs without any errors.


Any ideas how I might proceed now will be gratefully received!

murdocjern
QUOTE (sherab @ Jul 20 2008, 03:20 PM) *
My provider is JaguarPC and I have had this same problem. Has anyone solved this yet?


No. JaguarPC has been astoundingly unhelpful in every way I can think of.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.