close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Registration page not working

Thread began 10/05/2012 11:00 am by s.joiner74419001 | Last modified 10/09/2012 2:58 pm by Jason Byrnes | 3017 views | 23 replies |

s.joiner74419001

Registration page not working

I have created a Double Opt in Registration System from the web-assist tutorial. I have then tried to test it and on completion of the form, it displays the error message "invalid information .... "

Not sure why this is. I have recently upgraded from Security Assist to Databridge.

Attached is the registration page.

Attached Files
registration.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have the "invalid information" message inside the Validated form show region, so that would mean that the form is not passing validation.

we need to know which validation is failing to be able to troubleshoot why.

change the following code:
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"registration");
}

to:
if ($WAFV_Errors != "") {
die($WAFV_Errors);
PostResult($WAFV_Redirect,$WAFV_Errors,"registration");
}



this will write a comma separated list of umbers to help us determine which validation is causing the failure.

Sign in to reply to this post

s.joiner74419001

s.joiner74419001 Registration page not working

The result was: -
,14

Sign in to reply to this post

Jason ByrnesWebAssist

that is the validation for the security question.

looks like you have removed the security question from the form, but left the validation in place.

delete the following line to remove the security question validation:

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

s.joiner74419001

user confirm page

Thanks Jason, thats solved that issue. Now it processes the form but it displays the "your Verification Link has expired link" message on the confirm page. And it doesn't send the email either.

I've attached the confirm page!

Attached Files
user_confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

that means the reVerify recordset is not returning a result.

what is the link in your email?

Sign in to reply to this post

s.joiner74419001

email Link

the link in the email "blank.php" is: -

<a href="http://localhost/team_root/user_confirm.php?id=<?php echo $_SESSION['SecurityAssist_user_id']; ?>?randomString=<?php echo $_SESSION['rpw']; ?>?email=<?php echo((isset($_POST["Registration_group_E_Mail"]))?$_POST["Registration_group_E_Mail"]:"") ?>">Click here to verify your email address</a>

Sign in to reply to this post

Jason ByrnesWebAssist

i'm not asking about the code for the link, i'm asking about the link that is generated by the code.

Sign in to reply to this post

s.joiner74419001

I'm not quite sure I understand what your asking. Where would I locate the link that is generated by the code?

Sign in to reply to this post

Jason ByrnesWebAssist

when you register, you will be sent an email that contains a link to the user_confirm.php

you need to click the link in the email to access the user_confirm.php page.

the link passes information specific to your registration, this information is used to determine if you are valid user or not.

if your are a vlid user, the email verified column can be updated. if not, the email verified column cannot be updated.

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