CAPTCHA image not visible
Not sure what I've done wrong here - all I did was add a CAPTCHA image using Web Assist > Forms > Insert CAPTCHA.
The page is here if anyone can have a quick look, thanks.
the file that generates the captcha image is here:
this is giving a blank screen meaning a php error is occurring. this usually happens if either the GD or free type libraries are not enabled on the php server.
you should contact the hosting provider to have them enable the GD library in the PHP.ini file and make sure that the Free Type library is also enabled.
Thanks Jason - that's a bit odd, as I've had no problem before with the CAPTCHA on other sites on the same server Its a reseller account, and the safariawards domain site sits on the same server / account as goodsafariguide.com and tightlineclub.com - which both use CAPTCHA:
Is this likely to be server specific or domain specific?
depends on how the server is configured really.
the server may have separate php.ini files for each domain.
Sorry Jason - as soon as I went to put that file after adding the error reporting, I bet the house that I hadn't put it already. Take me out and shoot me now!
OK - I'll fire off an email to them to check.
They've confirmed that GD Library is enabled, so must be something else.
My first thought was the path to the image, but it looks OK?
you can also edit the webassist/captcha/wavt_captchasecurityimages.php file to be sure. add the following code at line 1 to turn on error reporting:
my bet: you will get an error about the imagettfbbox function being undefined. which would confirm the gd or freetype library being disabled.