captcha
Hi
at
model_contact.php
can anyone advise as to why the captcha image is not being displayed?
thanks
Ian
Hi
at
model_contact.php
can anyone advise as to why the captcha image is not being displayed?
thanks
Ian
trying to view the captcha image directly:
WAVT_CaptchaSecurityImages.php
i see the following error:
The image “WAVT_CaptchaSecurityImages.php” cannot be displayed, because it contains errors.
we would need to know what the error is to be able to debug the problem.
try adding the following at line 1 of the WAVT_CaptchaSecurityImages.php file:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
if this still doesn't display the error, try contacting the host to look into the servers error logs to see what is going wrong. Once we know the error, we can troubleshoot the cause.
Hi Jason
I now have the capcha working on my test server (local host) but it still does not work on my live server.
The error log says:
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 125
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 125
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettfbbox() [<a href='plugins/function.imagettfbbox'>function.imagettfbbox</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 136
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
[Wed Jan 12 16:43:16 2011] [error] [client 93.97.103.16] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Warning: imagettftext() [<a href='plugins/function.imagettftext'>function.imagettftext</a>]: Could not read font in /home/fhlinux128/1/1stmodelagency.co.uk/user/htdocs/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php on line 145
seems to be a font issue
any ideas?
thanks
Ian
Hi
think it's solved, currupt font in the fonts directory
thanks
Ian
Ok, glad to hear it is working.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.