close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email verification failed

Thread began 3/25/2013 12:46 am by Kamen Nikolov | Last modified 3/25/2013 1:37 pm by Kamen Nikolov | 728 views | 14 replies |

Kamen Nikolov

Email verification failed

I have followed the tutorial for the double optin to create the user signup. All is good but the verification of the email is keep failing. I just need another set of eyes to looked at them. I am sure I am missing something.

Thank you

Sign in to reply to this post

mrs

Is the email address missing from the end of the link? If so, this is the same issue I am having and have a support ticket going for it.

Perhaps two birds with one stone could be dealt with here.

Sign in to reply to this post

Kamen Nikolov

Is the email address missing where? I do receive an email to verify and I do go to the page that says "Thank you for verifying" after I click the link in the email. The problem is it is not updating the record in the db and it is still saying in the profile "You need to verify ......"

Sign in to reply to this post

Jason ByrnesWebAssist

what is the link in the email?

The link in the email should contain 3 URL variables, are those in the link properly?

Sign in to reply to this post

Kamen Nikolov

This is the link they get after they register (Block2.php):

<a href="http://www.kdstudiogroup.com/ag2/users_reg_thankyou.php?id=<?php echo $_SESSION['SecurityAssist_UserID']; ?>&randomString=<?php echo $_SESSION['rpw']; ?>&email=<?php echo((isset($_POST["Registration_group_Email"]))?$_POST["Registration_group_Email"]:"") ?>">Please Click HERE to Verify Your eMail</a>



This is the link from the user profile sending email to verify email:

<?php if(!WA_Auth_RulePasses("VerifyUser")){ // Begin Show Region ?>
Your eMail has NOT been verified. Please click HERE to get a <a href="users_update.php?send=true">New Verification Link</a>.
<?php } // End Show Region ?>
<?php if(WA_Auth_RulePasses("Validated form")){ // Begin Show Region ?>



This is the link they get from their profile to verify (Block3.php):

<a href="http://www.kdstudiogroup.com/ag2/users_verify.php?id=<?php echo $_SESSION['SecurityAssist_UserID']; ?>&randomString=<?php echo $_SESSION['rpw']; ?>&email=<?php echo$row_SecurityAssistusers['UserEmail']; ?>">

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

that is the code to generate the links.

the question was what was the link in the email?

what is the link that this code generates.

Sign in to reply to this post

Kamen Nikolov

Hi Jason,

Which email? The one sent to them after the register? I have attached all pages involve in this process.

This is the code of the form from the registration page:

<?php
if (isset($_POST["Registration_submit"])) {
$WAFV_Redirect = "".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true";
$_SESSION['WAVT_usersregistration_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateEM((isset($_POST["Registration_group_Email"])?$_POST["Registration_group_Email"]:"") . "",true,1);
$WAFV_Errors .= WAValidateUnique(("Garrincha"),$Garrincha,$database_Garrincha,"users","UserID","none,none,NULL","".((isset($_SESSION["SecurityAssist_UserID"]))?$_SESSION["SecurityAssist_UserID"]:"0") ."","UserEmail","',none,''","".((isset($_POST["Registration_group_Email"]))?$_POST["Registration_group_Email"]:"") ."",true,2);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Password"])?$_POST["Registration_group_Password"]:"") . "",true,3);
$WAFV_Errors .= WAValidateEL((isset($_POST["Registration_group_Password"])?$_POST["Registration_group_Password"]:"") . "",6,500,true,4);
$WAFV_Errors .= WAValidateLE((isset($_POST["Registration_group_Confirm"])?$_POST["Registration_group_Confirm"]:"") . "",(isset($_POST["Registration_group_Confirm"])?$_POST["Registration_group_Confirm"]:"") . "",true,5);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_First_Name"])?$_POST["Registration_group_First_Name"]:"") . "",true,6);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Last_Name"])?$_POST["Registration_group_Last_Name"]:"") . "",true,7);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Address"])?$_POST["Registration_group_Address"]:"") . "",true,8);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_City"])?$_POST["Registration_group_City"]:"") . "",true,9);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_State"])?$_POST["Registration_group_State"]:"") . "",true,10);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_10_Zip"])?$_POST["Registration_group_10_Zip"]:"") . "",true,11);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_11_Country"])?$_POST["Registration_group_11_Country"]:"") . "",true,12);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_1_Phone"])?$_POST["Registration_group_1_Phone"]:"") . "",true,13);
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Code"])?$_POST["Security_Code"]:"")) . "",((isset($_SESSION["captcha_Security_Code"]))?strtolower($_SESSION["captcha_Security_Code"]):"") . "",true,14);
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Answer"])?$_POST["Security_Answer"]:"")) . "",((isset($_SESSION["random_answer"]))?strtolower($_SESSION["random_answer"]):"") . "",true,15);
$WAFV_Errors .= WAValidateRX((isset($_POST["Hidden_Field"])?$_POST["Hidden_Field"]:"") . "","/.* /",false,16);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"usersregistration");
}
}
?>




This is the code of the form from their profile:

<?php
if (isset($_POST["UserUpdate_submit"])) {
$WAFV_Redirect = "".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true";
$_SESSION['WAVT_usersupdate_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateEM((isset($_POST["User_Update_group_Email"])?$_POST["User_Update_group_Email"]:"") . "",true,1);
$WAFV_Errors .= WAValidateUnique(("Garrincha"),$Garrincha,$database_Garrincha,"users","UserID","none,none,NULL","".((isset($_SESSION["SecurityAssist_UserID"]))?$_SESSION["SecurityAssist_UserID"]:"0") ."","UserEmail","',none,''","".((isset($_POST["User_Update_group_Email"]))?$_POST["User_Update_group_Email"]:"") ."",true,2);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Password"])?$_POST["User_Update_group_Password"]:"") . "",true,3);
$WAFV_Errors .= WAValidateEL((isset($_POST["User_Update_group_Password"])?$_POST["User_Update_group_Password"]:"") . "",6,500,true,4);
$WAFV_Errors .= WAValidateLE((isset($_POST["User_Update_group_Confirm"])?$_POST["User_Update_group_Confirm"]:"") . "",(isset($_POST["User_Update_group_Confirm"])?$_POST["User_Update_group_Confirm"]:"") . "",true,5);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_First_Name"])?$_POST["User_Update_group_First_Name"]:"") . "",true,6);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Last_Name"])?$_POST["User_Update_group_Last_Name"]:"") . "",true,7);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Address"])?$_POST["User_Update_group_Address"]:"") . "",true,8);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_City"])?$_POST["User_Update_group_City"]:"") . "",true,9);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_State"])?$_POST["User_Update_group_State"]:"") . "",true,10);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_10_Zip"])?$_POST["User_Update_group_10_Zip"]:"") . "",true,11);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_11_Country"])?$_POST["User_Update_group_11_Country"]:"") . "",true,12);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_1_Phone"])?$_POST["User_Update_group_1_Phone"]:"") . "",true,13);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"usersupdate");
}
}
?>

Sign in to reply to this post

Jason ByrnesWebAssist

you say:

  I do receive an email to verify and I do go to the page that says "Thank you for verifying" after I click the link in the email.  



the question is:

What is the link in the email?

please copy the link from the email and send it in your reply

Sign in to reply to this post

Kamen Nikolov

This is the page called users_verify.php

<?php
// WA DataAssist Update
if ((isset($_GET['id']) && $_GET['id'] != "")) // Trigger
{
$WA_connection = $Garrincha;
$WA_table = "users";
$WA_redirectURL = "";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_indexField = "UserID";
$WA_fieldNamesStr = "emailVerified";
$WA_fieldValuesStr = "1";
$WA_columnTypesStr = "none,none,NULL";
$WA_comparisonStr = "=";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode($WA_AB_Split, $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);

$WA_where_fieldValuesStr = "".$row_rsVerify['UserID'] ."";
$WA_where_columnTypesStr = "none,none,NULL";
$WA_where_comparisonStr = "=";
$WA_where_fieldNames = explode("|", $WA_indexField);
$WA_where_fieldValues = explode($WA_AB_Split, $WA_where_fieldValuesStr);
$WA_where_columns = explode("|", $WA_where_columnTypesStr);
$WA_where_comparisons = explode("|", $WA_where_comparisonStr);

$WA_connectionDB = $database_Garrincha;
mysql_select_db($WA_connectionDB, $WA_connection);
@session_start();
$updateParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WhereObj = WA_AB_generateWhereClause($WA_where_fieldNames, $WA_where_columns, $WA_where_fieldValues, $WA_where_comparisons );
$WA_Sql = "UPDATE `" . $WA_table . "` SET " . $updateParamsObj->WA_setValues . " WHERE " . $WhereObj->sqlWhereClause . "";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
header("Location: ".$WA_redirectURL);
}
}
?>
<?php
// WA DataAssist Update
if ($_SERVER["REQUEST_METHOD"] == "POST") // Trigger
{
$WA_connection = $Garrincha;
$WA_table = "users";
$WA_redirectURL = "";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_indexField = "UserEmail";
$WA_fieldNamesStr = "randomString";
$WA_fieldValuesStr = "0";
$WA_columnTypesStr = "',none,''";
$WA_comparisonStr = "=";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode($WA_AB_Split, $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);

$WA_where_fieldValuesStr = "".$_GET['email'] ."";
$WA_where_columnTypesStr = "',none,''";
$WA_where_comparisonStr = "=";
$WA_where_fieldNames = explode("|", $WA_indexField);
$WA_where_fieldValues = explode($WA_AB_Split, $WA_where_fieldValuesStr);
$WA_where_columns = explode("|", $WA_where_columnTypesStr);
$WA_where_comparisons = explode("|", $WA_where_comparisonStr);

$WA_connectionDB = $database_Garrincha;
mysql_select_db($WA_connectionDB, $WA_connection);
@session_start();
$updateParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WhereObj = WA_AB_generateWhereClause($WA_where_fieldNames, $WA_where_columns, $WA_where_fieldValues, $WA_where_comparisons );
$WA_Sql = "UPDATE `" . $WA_table . "` SET " . $updateParamsObj->WA_setValues . " WHERE " . $WhereObj->sqlWhereClause . "";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
header("Location: ".$WA_redirectURL);
}
}
?>

Sign in to reply to this post

Jason ByrnesWebAssist

I dont need the page code. I just need to know what the link in the email is.

open the email, and copy the link, then past the link into your message so i can see what the link is please...

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