Closed (fixed)
Project:
CAPTCHA
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jan 2005 at 05:34 UTC
Updated:
4 Jul 2005 at 05:03 UTC
Hi,
My site is nothingonline.net and as you can see in the registration scree, I can't get captcha to generate an image.
I typically get the following error.
http://nothingonline.net/?q=captcha/image/1106544552
<br />
<b>Fatal error</b>: Call to undefined function: imagecreatetruecolor() in <b>/home/someone/public_html/modules/captcha/captcha.module</b> on line <b>212</b><br />
Any ideas?
I installed, Freetype & GD.
Thanks,
someone.
Comments
Comment #1
nazadus commentedStrange, I'm getting it too.
I just moved to a new server and this pops up.
A little digging shows that I forgot to enable GD in the php.ini.
I also later found that my PHP install was compiled without GD support, so I had to re-install php with gd support.
Go here: http://us2.php.net/gd for more information.
Have I mentioned how much I hate moving servers lately? *grumble* *grumble* *grumble*
Comment #2
Zed Pobre commentedWell, specifically, compiling PHP for GD support isn't enough -- you have to compile it using PHP's own internal fork of the GD project, which is very annoying. I would very much like to see a portable version of Captcha written that doesn't rely on the nonstandard extensions.
Comment #3
arnabdotorg commentedhttp://drupal.org/node/16875#comment-30698
Comment #4
arnabdotorg commentedPlease update your captcha to the latest versions; you shouldn't be facing problems now if you have PHP + GD2.
Comment #5
igrcic commentedDid you set permission to all users?
Comment #6
igrcic commentedSorry, wrong module page :)
Comment #7
arnabdotorg commentedProblems were addressed in the current version, hence closing this since it no longer applies.