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

nazadus’s picture

Strange, 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*

Zed Pobre’s picture

Well, 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.

arnabdotorg’s picture

arnabdotorg’s picture

Please update your captcha to the latest versions; you shouldn't be facing problems now if you have PHP + GD2.

igrcic’s picture

Did you set permission to all users?

igrcic’s picture

Sorry, wrong module page :)

arnabdotorg’s picture

Status: Active » Closed (fixed)

Problems were addressed in the current version, hence closing this since it no longer applies.