close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Captcha won't pass validation

Thread began 6/27/2011 6:54 pm by johna1964 | Last modified 6/28/2011 2:29 pm by Jason Byrnes | 2363 views | 7 replies |

johna1964

Captcha won't pass validation

When I try to test the contact form via hosting service, I am unable to pass captcha validation, no matter what the letter and numbers, I cannot get through...

Please help, I read all I could find in the forums, I have no clues here.

The closest thing was needing to clear the session because captcha isn't validating, but I don't know where to do that....server behaviors? code? where?

The captcha text field is simply not reading or matching the text to the captcha image. I did add the refresh feature, if this has any resulting issues? If it did I am unable to view the WebAssit>Forms>Validation, but isn't it already validating through the Form Builders?

Can someone point me in the right direction?


Sincerely,

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

first, test the servers session management, use the session test page from the following thread:
showpost.php?p=23826&postcount=2


if the session test passes, send a copy of your page in a zip archive so I can examine the code.

Sign in to reply to this post

johna1964

sessionTest

Jason,

The server session management tested correctly.

Attached is copy of the page...

Thanks for you help!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

change the following code:

php:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Code"])?$_POST["Security_Code"]:"")) . "",((isset($_SESSION["captcha_Security_Code"]))?strtolower($_SESSION["captcha_Security_Code"]):"") . "",true,4);




to:

php:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Code"])?$_POST["Security_Code"]:"")) . "",((isset($_SESSION["captcha_Security_Code_1"]))?strtolower($_SESSION["captcha_Security_Code_1"]):"") . "",true,4);
Sign in to reply to this post

johna1964

Jason,

It's working now...Yeah!!

When I tested and viewed the email there is Lorem ipsum in the area of the email called Additional Notes. Is there a way to elliminate the Lorem ipsum?

Also;

Is this an a potential issue...

I had changed the file name from contactus_1.php to contactus.php. The code doesn't automatically update, does it...?

If this is the case, I need to find within the code contact1; for example:

$_SESSION['WAVT_contactus1_Errors'] = "";

and omit the _1 in all cases?

Thanks again!!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

no, you wot need to change the name of the session or anything else.

Sign in to reply to this post

johna1964

Jason,

Thanks for all your work!

Johna

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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