Page 1 of 1

Captcha image not displayed in new 1.2.8 install

Posted: Fri 24. Nov 2006, 23:37
by forefront
I'm not sure what is happening, but the captcha image is not being displayed in my email form.

PHP 4.3.6
register_globals = on (don't know if I can get that changed or not)
GD is enabled in config.inc.php

I'm not sure where to go looking for the error. If anyone can point me in the right direction, I'd appreciate it very much.

Posted: Sat 25. Nov 2006, 01:47
by flip-flop
Hi forefront,

have you inserted the field type captcha_image into the contact template?

A little example of the contact form http://www.phpwcms-docu.de/index.php?contact you will see there: http://www.phpwcms.de/forum/viewtopic.php?p=69503#69503

regards Knut

Posted: Sat 25. Nov 2006, 14:32
by forefront
Actually, I used your example when I set mine up.

What is displayed where the image should be is the word 'Captcha'.

Posted: Sat 25. Nov 2006, 14:50
by flip-flop
Please be carefull the field names are case sensitiv entry.
I think you have insert {Captcha} instead of {captcha}.

Make a test, if it doesn´t work please post the template.

Regards Knut

Posted: Sat 25. Nov 2006, 15:27
by forefront
Here's what I have:
Image

Here's the result in Internet Explorer 6.0.2900:
Image
I right-clicked the empty image and checked the properties:
http://gunlockcreations.com/cms/img/cap ... 1164463543
So, it looks like it's trying to work. The image size is 75x30.

Here's the result in FireFox 2.0:
Image

I tried clearing the cache, but maybe I need to clear more, I'm not sure.

Posted: Sat 25. Nov 2006, 15:53
by flip-flop
It seams like a php error.

freetype support lost ore no gd lib.
Mhh, I don´t be a php expert other user may help you.

Please google "Call to undefined function: imagettftext()" and you will find some informations. It isn´t an cms problem.

If you upload some image into the file center, is there any generated thumbnail?

Regards Knut

Posted: Sat 25. Nov 2006, 17:40
by forefront
I've put in a request to re-compile PHP with additional font and graphic library support. I'll let you know things work out.