TDsouza Posted August 19, 2013 Share Posted August 19, 2013 (edited) I have installed prestashop in a test directory on my domain. Something like this www.domain.com/prestashop/. Things were working great till I tried registering as a new user. Basically I click on "account" on top which took me to http://domain.com/prestashop/index.php?controller=authentication This displayed two boxed 1. Register new user with a text box for email address and a submit button. 2. Login with two text boxed for username and password along with a submit button. I tried adding my email address and clicking on the submit button. However when I do this, nothing happens. I have no idea why. Additionally I tried going to Back office->Advanced Parameters->Email and tried running test mails with different options (smtp and php mail()). One of the errors I encountered was Sending failed using mail() as PHP's default mail() function returned boolean FALSE. However I have php scripts on the same server that work. What could possible be the issue. Edited August 19, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 the problem is probably related to the ajax script error (js parse error or error related to the php script parse) please check browser console log for more informations, if any error appear there - please paste error contents here Link to comment Share on other sites More sharing options...
TDsouza Posted August 19, 2013 Author Share Posted August 19, 2013 (edited) the problem is probably related to the ajax script error (js parse error or error related to the php script parse) please check browser console log for more informations, if any error appear there - please paste error contents here Ok, im using firebug, and the console showed me nothing, but then I enabled all they types of error and warning messages from the console. After this, clicking on submit provided me with some errors that I have attached here. Edited August 19, 2013 by TDsouza (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 is there any chance to test your website? if so, please share the url. for now im totally lost, it's hard to say what's goin on without little investigation Link to comment Share on other sites More sharing options...
TDsouza Posted August 19, 2013 Author Share Posted August 19, 2013 is there any chance to test your website? if so, please share the url. for now im totally lost, it's hard to say what's goin on without little investigation Fine, Here's the link directly to the sign up/login page http://sunlabs.in/buyjaldi/index.php?controller=authentication&back=my-account Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 i checked your website. it's because you removed (commented) center column. Link to comment Share on other sites More sharing options...
TDsouza Posted August 19, 2013 Author Share Posted August 19, 2013 i checked your website. it's because you removed (commented) center column. Oh ok, I had done that to change the layout on the other pages, what is it that needs the center column?? I mean is it javascript, jquery etc? Or php??? Would wrapping the contents of authentication.tpl with a center column div fix it??? Link to comment Share on other sites More sharing options...
TDsouza Posted August 19, 2013 Author Share Posted August 19, 2013 i checked your website. it's because you removed (commented) center column. Ok I've tried wrapping the contents of authentication.tpl with a center column div and it worked. I'd still like to know if there are any possible side effects to this approach. Thanks for the time and effors you have put into fixing this issue. Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 it's because when you creating new account and hit "create" button, the script make a ajax call (validation of the email address). If everything is okay with email, then jquery APPEND new form with fields to register to the "center" column. it's necessary in this case to have it (id="center_column") Link to comment Share on other sites More sharing options...
TDsouza Posted August 19, 2013 Author Share Posted August 19, 2013 it's because when you creating new account and hit "create" button, the script make a ajax call (validation of the email address). If everything is okay with email, then jquery APPEND new form with fields to register to the "center" column. it's necessary in this case to have it (id="center_column") Yes I have added a div with the same ID and it now works fine. Thanks a lot for all the assistance. Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 you're welcome glad that i could help you in this case im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
TDsouza Posted August 22, 2013 Author Share Posted August 22, 2013 you're welcome glad that i could help you in this case im going to mark this topic as [solved] best regards Sorry to be asking this after the query is solved but may I know how did you go about finding out that the issue was id="center_column"??? I'v bumped into a similar problem with layered navigation and wanted to try and fix it my self before posting on the forum. Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 i just know the authentication jquery script after pressing the "create account" button the ajax query looking for div with id="center_column". If this div exist - script automatically change the contents of this div with ajax query results. so i checked sources of your website and i've noticed that you haven't got center column. Link to comment Share on other sites More sharing options...
TDsouza Posted August 26, 2013 Author Share Posted August 26, 2013 i just know the authentication jquery script after pressing the "create account" button the ajax query looking for div with id="center_column". If this div exist - script automatically change the contents of this div with ajax query results. so i checked sources of your website and i've noticed that you haven't got center column. Ohh Ok thanks again.. Link to comment Share on other sites More sharing options...
kerryzhao Posted October 23, 2013 Share Posted October 23, 2013 Hello, I have the same problem. Could you please tell me how to add the code? Thanks in advance. Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 Hello, I have the same problem. Could you please tell me how to add the code? Thanks in advance. it will be much easier if you will share url to your store. i will check it then Link to comment Share on other sites More sharing options...
javitineo Posted November 11, 2013 Share Posted November 11, 2013 Hi! i've read the thread, because it also happens to me, but the solution doesn´t fit. I give you the url if you please could check it. Thank you! http://tinyurl.com/mrhz2om Link to comment Share on other sites More sharing options...
javitineo Posted November 11, 2013 Share Posted November 11, 2013 hi again! ive solved it. i was using another theme (not default) and it has not the next line: <script src="/themes/default/js/tools/statesManagement.js"> Link to comment Share on other sites More sharing options...
vekia Posted November 11, 2013 Share Posted November 11, 2013 yes i can confirm that it works i can fill first field (with email) then press button to create account Link to comment Share on other sites More sharing options...
fishordog Posted March 29, 2014 Share Posted March 29, 2014 i have similar problem. When i hit enter first time while registering it does nothing and just refreshes the page. When i enter email second time it takes me to the next step of the registration. Any ideas why this happening? 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