close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

captcha

Thread began 1/11/2011 4:26 am by i.edwards384429 | Last modified 1/12/2011 12:37 pm by Jason Byrnes | 1470 views | 4 replies |

i.edwards384429

captcha

Hi

at

model_contact.php


can anyone advise as to why the captcha image is not being displayed?

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

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:
<?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.

Sign in to reply to this post

i.edwards384429

update

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

Sign in to reply to this post

i.edwards384429

update

Hi

think it's solved, currupt font in the fonts directory

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...