Jump to content

[SOLVED] Problem registering a new user, button does nothing


Recommended Posts

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 by vekia (see edit history)
Link to comment
Share on other sites

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

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.

post-637430-0-45859300-1376912337_thumb.jpg

Edited by TDsouza (see edit history)
Link to comment
Share on other sites

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

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

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

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

you're welcome B)

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

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

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

  • 1 month later...
  • 3 weeks later...
  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...