close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CAPTCHA has stopped working

Thread began 2/06/2010 8:30 pm by ahande2 | Last modified 2/15/2022 1:34 pm by Ray Borduin | 2829 views | 7 replies |

ahande2

CAPTCHA has stopped working

The CAPTCHA code no longer shows on our web site contact form; see url:

contactus.php

The form has worked perfectly and without problem for several months since I first implemented WebAssist Contact Form on our site. However, a couple of months ago we began having a problem with the CAPTCHA code showing up blank (no letters, just the grayed out "noise" background).

When I would reload the form from Dreamweaver to our shared hosting server, the CAPTCHA code on the contact form would work again for awhile. But now it has stopped working altogether, even when I reload the entire Contact Form folder. The form works properly, to include the CAPTCHA validation error message, all except the CAPTCHA. But without the CAPTCHA security code feature functioning properly, the contact form cannot be submitted.

Is there something our web hosting service may have modified on their server to have caused this to occur? I have made no other significant changes to our site or to the form that should have caused this problem.

Note that the GD Library (including FreeType) is installed and enabled on our shared hosting server, see url at:

phpinfo.php

Note that our WA_globals file is using the original CAPTCHA settings from the Contact Form Solution Pack per below:

$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;

Sign in to reply to this post

Office Guy-172461

Make sure that this file is available:
Fonts/MOM_T___.TTF

That's the only thing I can think of that would cause the characters to disappear.

Sign in to reply to this post

ahande2

Still not working

That file is there. In fact, I downloaded a fresh copy of Contact Forms Solution Pack, v. 1.02, deleted all old files off the server as well as local files, uploaded the new files, but the same problem exists.

It seems like it could be something to do with the server, I think the problem arose about the time our hosting service (aplus.net) upgraded their servers. But I am at a loss as to why this would suddenly become a problem after six+ months of problem free operations.

I have also submitted a support ticket with our web hosting provider to see if they can determine what they may have modified during their server upgrade that may have caused this problem to arise.

Sign in to reply to this post

ahande2

Web Hosting provider problem

After a frustrating lack of response or resolution from our current web host provider (aplus.net), I decided to begin transfer to a new hosting provider (ministryweb.org). After uploading our same web site (including Contact Form Solution Pack pages) to our new pre-prop site, the CAPTCHA security code works fine. See new pre-prop url at:

contactus.php

So this is clearly a problem related to our current (and soon former) web host provider. But for future reference, it would still be helpful to know what could cause this problem.

Sign in to reply to this post

Jason ByrnesWebAssist

Most likely the host has upgraded the PHP installation. create a new file named PHPinfo.php and add the following:
<?php phpinfo(); ?>


this will show information about the php installation.

Look for the section Titled "GD" and make sure that True Type support is enabled.


If it is enabled, try changing the path to the font file in the WA_Globals.php file:
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;


to a site relive path:
$WAGLOBAL_Captcha_Font = "/ContactForm102/ContactForm_GMC/WA_ValidationToolkit/Fonts/MOM_T___.TTF";

Sign in to reply to this post

ahande2

TrueType Support

Our shared hosting service has FreeType Support enabled, but TrueType is not listed. (See phpinfo.php for our server details.)

Can the Contact Form Solution Pack be modified to support FreeType, or do I need to see if our web hosting service can modify PHP install to accommodate TrueType?

Sign in to reply to this post

esavvy349871

Captcha Font is not working

Since this thread is 12 years old, I thought I would try to get a fresh insight on the problem. I believe it is a server update issue. However, the recommendations in this thread are dated. There is no "True Type" option in the "GD" see attached files. Is there something I can do within the code? Or, what should I ask the host to do?


Originally Said By: Jason Byrnes
  Most likely the host has upgraded the PHP installation. create a new file named PHPinfo.php and add the following:
<?php phpinfo(); ?>


this will show information about the php installation.

Look for the section Titled "GD" and make sure that True Type support is enabled.


If it is enabled, try changing the path to the font file in the WA_Globals.php file:
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;


to a site relive path:
$WAGLOBAL_Captcha_Font = "/ContactForm102/ContactForm_GMC/WA_ValidationToolkit/Fonts/MOM_T___.TTF";  
Sign in to reply to this post

Ray BorduinWebAssist

Can I get FTP access? I'll need to debug the page to see what is going on. It is possible some required files weren't updated, but it is hard to say without access to the files since it appears to give a blank page.

Sign in to reply to this post
Did this help? Tips are appreciated...

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