Captcha image not displayed in new 1.2.8 install

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Captcha image not displayed in new 1.2.8 install

Post 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.
Don Bledsoe
FOREFRONT INTERNET
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Post by forefront »

Actually, I used your example when I set mine up.

What is displayed where the image should be is the word 'Captcha'.
Don Bledsoe
FOREFRONT INTERNET
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Post 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.
Don Bledsoe
FOREFRONT INTERNET
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Post 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.
Don Bledsoe
FOREFRONT INTERNET
Post Reply