Page 1 of 1
Missing captcha image.
Posted: Thu 19. Feb 2009, 16:49
by johnn
Haven't used CT with captcha for a while, and now I need to use guesbook CP. But the problem is the captcha image is not showing, there is just X (missing image). I'm not aware of any server changes so what could be the problem?
It was working fine the last time i used it (a while ago).
Re: Missing captcha image.
Posted: Thu 19. Feb 2009, 17:14
by Jensensen
Please check the following files and directories.
Images (and TrueType Fonts) should be in
/template/inc_captcha/
Needed:
/include/inc_ext/SOLMETRA_FormValidator/SPAF_FormValidator.class.php
/img/captcha.php
Re: Missing captcha image.
Posted: Thu 19. Feb 2009, 18:01
by johnn
All there - 14 png images and 4 fonts.
The other files too.
Re: Missing captcha image.
Posted: Thu 19. Feb 2009, 18:42
by Jensensen
Same web browser used as before?
Wrong settings in "SPAF_FormValidator.class.php": Is this the original file? Or have you changed anything?
Do you have a contact form with a Captcha image? Try to add the captcha image to the form (as an experiment). Working?
Which version of the CMS do you use?
R/W permission of the file should be 644 or 666 or something.
Type to the address bar http your-server.tld/template/inc_captcha/03.png . Can you see the image in the browser window?
I have no more ideas.

Re: Missing captcha image.
Posted: Thu 19. Feb 2009, 21:06
by johnn
Same browser (tried another).
Nothing changed in SPAF_FormValidator.class.php
Missing image in contact form too.
CMS ver 1.3.3
Permissions are 644 (never changed it).
When i type the in the address bar http your-server.tld/template/inc_captcha/03.png i CAN see the image (not in the browser window, but it asks me to save it or open it, so the image is there).

As i said - it was working some weeks ago. I'm starting to think that maybe my host service provider made any changes...?
Re: Missing captcha image.
Posted: Thu 19. Feb 2009, 21:57
by Jensensen
johnn wrote:... it was working some weeks ago...
so it should today. hmmm, pondering. i personally don't have any experience with the guest book. are there any templates? replacement tag {CPATCHA} missing?
johnn wrote:...03.png i CAN see the image (not in the browser window, but it asks me to save it or open it ...
Usually it should be displayed right in the window!¿
johnn wrote:... maybe my host service provider made any changes...?
yes, sometimes they do. but, i wonder what the reason may be? php4 -> php5... shouldn't affect the 'guestbook'.
anyone else can help?
Re: Missing captcha image.
Posted: Wed 25. Feb 2009, 11:35
by johnn
OK, this is the error i get when trying to see the image in firefox:
Fatal error: Call to undefined function: imagettftext() in /my_domain/include/inc_ext/SOLMETRA_FormValidator/SPAF_FormValidator.class.php on line 231
Re: Missing captcha image.
Posted: Wed 25. Feb 2009, 12:01
by juergen
Hi
you should perhaps to your php install if gd is present and installed, in Version 2.0 -> phpinfo in admin->
Freetype support should be as well...
Re: Missing captcha image.
Posted: Tue 21. Apr 2009, 17:14
by StudioZ
I had the same problem after upgrading.
The problem for me was the permissions on the root folder
img/
which holds: img/captcha.php
img/ was set to 775 so I swapped it to 755.
Now all is fine
Hope this may help some of you experiencing the same issue.
Cheers,
Yves
Re: Missing captcha image.
Posted: Thu 16. Jul 2009, 14:14
by overkill
I have the same problem, I get the red x appearing where the captcha image should be and I have :
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
if i upgrade the gd version and freetype version would that help?