Log In Failure
I have a log in that does not work, upon entering app_uname (username) and app_pw (password), the input data is removed and it appears the page reloads. The failure redirect is set to another page, however it does not take me there.
I have uploaded the HelperGroupsRulesPHP.php and it has the rule included (I have another log in on the site that works).
The connection seems to be correct in that I am able to insert into the DB and the connection files are the same.
This is from appraiser_LogIn.php
if($_SERVER["REQUEST_METHOD"] == "POST"){
$WA_Auth_Parameter = array(
"connection" => $assess_remote,
"database" => $database_assess,
"tableName" => "appraiser",
"columns" => explode($WA_Auth_Separator,"app_uname".$WA_Auth_Separator."app_pw"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_POST["username"]))?$_POST["username"]:"") ."".$WA_Auth_Separator."".((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"app_id"),
"sessionNames" => explode($WA_Auth_Separator,"app_id"),
"successRedirect" => "appraiser_Profile.php",
"failRedirect" => "appraiser_EmailPW.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE
);
WA_AuthenticateUser($WA_Auth_Parameter);
}
?>
<?php
if((((isset($_SESSION["app_id"]) && $_SESSION["app_id"] != "")?"LoggedIn":"") == "")&&(((isset($_COOKIE["AutoLoginUN"]))?$_COOKIE["AutoLoginUN"]:"") != "")&&(((isset($_COOKIE["AutoLoginPWD"]))?$_COOKIE["AutoLoginPWD"]:"") != "")){
$WA_Auth_Parameter = array(
"connection" => $assess_remote,
"database" => $database_assess,
"tableName" => "appraiser",
"columns" => explode($WA_Auth_Separator,"app_uname".$WA_Auth_Separator."app_pw"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_COOKIE["AutoLoginUN"]))?$_COOKIE["AutoLoginUN"]:"") ."".$WA_Auth_Separator."".((isset($_COOKIE["AutoLoginPWD"]))?$_COOKIE["AutoLoginPWD"]:"") .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"app_id"),
"sessionNames" => explode($WA_Auth_Separator,"app_id"),
"successRedirect" => "appraiser_Profile.php",
"failRedirect" => "index.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE
);
WA_AuthenticateUser($WA_Auth_Parameter);
}
Is there any other information that would be helpful in tracking this down?
Thank you
Gary