close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Will not accept captcha code

Thread began 3/28/2012 7:17 pm by bryan107833 | Last modified 6/13/2014 7:17 am by Jason Byrnes | 6793 views | 10 replies |

bryan107833

Will not accept captcha code

I have at least two sites in which the Captcha Image will not accept and you just get stuck on "Your security code entry did not match the image." Both of these sites did work and I can not find where the problem is. Ideas? I have attached one of the contact pages.

Attached Files
contact.zip
Sign in to reply to this post

Jason ByrnesWebAssist

First, I would test the servers session management to make sure it is saving session information corrcetly using the session test page here:
showpost.php?p=23826&postcount=2

if the session test fails, it is most likely a bad setting in the PHP.ini file for the session.save_path, your host will need to correct that.

if the session test passes, to help troubleshoot, find the following code:

php:
if ($WAFV_Errors != "")  {

    PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
  }




and change it to:

php:
if ($WAFV_Errors != "")  {

    die($WAFV_Errors."<br><pre>".var_dump($_POST)."</pre><br><pre>".var_dump($_SESSION)."</pre>");
    PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
  }




this will write the session contents and post contents to the screen when validation fails to help find the cause of the problem.

Sign in to reply to this post

bryan107833

If I am reading this correctly, when the form post it is getting a new captcha image.

array(15) { ["Contact_Name"]=> string(5) "Bryan" ["addblock"]=> string(0) "" ["Email_address"]=> string(28) "bryan@xxx.com" ["seconddblock"]=> string(0) "" ["Phone"]=> string(0) "" ["preferred"]=> string(10) "Choose one" ["Mailing_Address"]=> string(0) "" ["City"]=> string(0) "" ["State"]=> string(0) "" ["Zip"]=> string(0) "" ["Hear"]=> string(0) "" ["Comments"]=> string(14) "test webassist" ["Security_code"]=> string(5) "h6MzN" ["Security_imagebutton_x"]=> string(2) "59" ["Security_imagebutton_y"]=> string(2) "13" } array(2) { ["captcha_1"]=> &string(5) "999ZK" ["WAVT_contact_Errors"]=> string(0) "" } ,4

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

bryan107833

I seem to be having this problem again on a different account. The really strange part is that I have it working in a test folder (mainsite.com/test/) but it will not work in the main site. I have triple checked all of the files were uploaded etc but can not seem to find the problem. Can you please take a look at this page and see if you can tell why it is not accepting the Captcha Image? Link in private. Thank you. Bryan


... I have just again recopied every file that I think could even remotely be associated with this form from the test folder (the one that works) to proper folder and still the Captcha will not be accepted.

Sign in to reply to this post

Jason ByrnesWebAssist

no way to tell just be seeing the page in the browser. in the private section, can you provide ftp login details so I can access the file directly to troubleshoot.

Sign in to reply to this post

bryan107833

Did you see I added the credentials above before I saw your response. Thanks.

Not sure if this is important but I had an older version of this form that stopped working yesterday after a long time in this same main directory which is what prompted my deciding to simply redo this page... I just didn't realize that the problem was seemingly deeper than the old form. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

Please provide a Skype username or a US phone number and a good time to contact you when you will be in front of your computer and we will have an engineer contact you to resolve this issue over the phone.

We are available Monday - Friday from 9am - 4pm EST (except major U.S. holidays).

Sign in to reply to this post

bryan107833

I am available right now for awhile if possible. Number below

Sign in to reply to this post

bryan107833

In the end it was the php.ini file in the root directory that was keeping the page from seeing the session variable. I have disabled the php.ini file and things are again working. I am not sure if I need this php.ini file or not and if I do what to edit before going live. If you have any thoughts on this I have attached the disabled file. Thanks for all your continued help. Some what strange how the forms had worked for years and nothing seemed to change but this file suddenly started causing this issue..

Sign in to reply to this post
loading

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