close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Went where no one should have gone before

Thread began 9/20/2012 5:59 pm by phill401410 | Last modified 9/21/2012 1:19 pm by Jason Byrnes | 453 views | 1 replies |

phill401410

Went where no one should have gone before

I accomplished the Double Opt In Registration System tut successfully making a Registration page that entered data into my remote data base and sent me an email saying I could log in. Did not try all the functions and test all the pages but instead went right back into trying to customize the Registration page. I deleted the Security Answer and broke something. So I reloaded the Registration Page code that worked (I always make a copy of code that works) but , alas, something broke.

So I added trouble shooting code as you have instructed in the past and the Reg Page threw this error:
array(9) {
["WAENCRYPTEDRETURNUSED"]=>
&bool(false)
["WAENCRYPTEDRETURNSUCCESS"]=>
&bool(false)
["rpw"]=>
&string(8) "Bm^:j,2@"
["SubmitCount"]=>
&int(1348176651)
["random_question"]=>
&string(32) "Which number is lowest 99 or 20?"
["random_answer"]=>
&int(20)
["Last_CAPTCHA"]=>
&int(1348176634)
["captcha_Security_Code_1"]=>
&string(5) "T6dbE"
["WAVT_registration_Errors"]=>
&string(616) "WAVT_Registration_group_Email=jsafdhajfh@iju.cc&WAVT_Registration_group_Password=heather17&WAVT_Registration_group_Confirm=heather17&WAVT_Registration_group_First_Name=m&WAVT_Registration_group_Last_Name=m&WAVT_Registration_group_Address=m&WAVT_Registration_group_Address_2=m&WAVT_Registration_group_City=m&WAVT_Registration_group_State=m&WAVT_Registration_group_10_Zip=m&WAVT_Registration_group_11_Country=United States&WAVT_Registration_group_1_Phone=m&WAVT_Registration_group_1_Fax=m&WAVT_Security_Code=T6dbE&WAVT_Security_Answer=72&WAVT_Hidden_Field=&WAVT_Registration_submit=Register&WAVT_registration_Errors=14"
}

Thanking you in advance.
Attached is the the Reg Page php file and the code that works.

Attached Files
WADataAssist 20SEP12.zip
Sign in to reply to this post

Jason ByrnesWebAssist

it's the captcha that is failing validation.
this code generates the captcha image:

php:
<img id="capt1"  src="webassist/captcha/wavt_captchasecurityimages.php?width=150&height=40&field=Security_Code_1&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=000000&gridorder=behind&noisefreq=20&noisecolor=000000&noiseorder=behind&characters=5&charheight=&font=fonts/MOM_T___.TTF&textcolor=336666" alt="security code" width="150" height="40" /><img  src="webassist/captcha/images/refresh.png" height="18" onclick="document.getElementById('capt1').src+='&ref=1'" />




this is passing a number of variables to the webassist/captcha/wavt_captchasecurityimages.php page as URL variables.

one of those variables is named field. the field variable is used to set the captcha session name, in your code, the filed variable is set as:

php:
field=Security_Code_1



the captcha session name will be set as "captcha_<Field URL variable Value>", so in this case, the captcha session name is set as "captcha_Security_Code_1"


The problem is that in the Server Validation behavior, you have the Like Entry validation to use the session named "captcha_Security_Code" instead.

Edit the server validation server behavior, and change the like entry validation to use the captcha_Security_Code_1 session as the comparison value

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