TonyH Posted September 23, 2010 Share Posted September 23, 2010 I am having a problem with the login page. After you have filled in the form and hit the Register button, it doesn't automatically go to the Welcome to your account page. Could someone tell me what file controls this action?Many thanks Link to comment Share on other sites More sharing options...
rocky Posted September 24, 2010 Share Posted September 24, 2010 After clicking the "Register" button, PrestaShop redirects to the page the customer was on previously that led to the authentication.php page. It is lines 125-126 of authentication.php that does this: if ($back) Tools::redirect($back); If there is no page to return to, then authentication.php is reloaded, then it redirects to my-account.php. It is lines 8-9 of authentication.php that do this: if ($cookie->isLogged()) Tools::redirect('my-account.php'); Link to comment Share on other sites More sharing options...
Stefand Posted October 26, 2010 Share Posted October 26, 2010 I have a problem, it doesn't redirect to my-account.php when I click on Register...Can anybody help me? Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 Where is it redirecting to? It must be redirecting to the $back variable, or a cookie problem could be causing the customer to not be logged in after registering. Link to comment Share on other sites More sharing options...
Stefand Posted October 27, 2010 Share Posted October 27, 2010 Yes, the $back variable is active.. not 1 customer have this issue but everbody, so the cookie problem is not the problem I think? Link to comment Share on other sites More sharing options...
DutchCoding Posted October 27, 2010 Share Posted October 27, 2010 ...still need help? Link to comment Share on other sites More sharing options...
Stefand Posted October 27, 2010 Share Posted October 27, 2010 yes, my problem is not solved.. Link to comment Share on other sites More sharing options...
DutchCoding Posted October 27, 2010 Share Posted October 27, 2010 pm me I will send u a working authentication.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now