XFileSharing Pro - (Captcha mode) GD error "Security Image" at line 1

Message
Author
Joseph
Posts: 16
Joined: Jan 26, 2007 4:35 am

(Captcha mode) GD error "Security Image" at line 1

#1 Postby Joseph » Nov 03, 2008 9:08 pm

I set the captcha to Image (GD). I had someone install the PHP GD feature on my server but I guess they missed something? Can you tell me how to fix this problem so I can get the Captcha "GD" working?

Below is a screen capture of the error message received when attempting to use the captcha as a regular downloader.

[img]Click%20Here%20to%20See%20Image[/img]

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Nov 05, 2008 7:06 am

Try this: in Modules/SecImage.pm replace

Code: Select all

eval {require GD::SecurityImage;};
die"Can't init GD::SecurityImage" if $@;
with

Code: Select all

use GD::SecurityImage;

Joseph
Posts: 16
Joined: Jan 26, 2007 4:35 am

#3 Postby Joseph » Nov 08, 2008 9:13 pm

Thank you. It worked. :-)