Jump to content

Customer Registration Error


Recommended Posts

Need some help! I have PS 1.3.0.1 - 0.351s installed. I'm doing my testing, and I can't get past the login for the customer registration. The email is accepted, but after entering personal info: firstname/lastname, address, password, etc, and pressing the register button, I get an error. There is 1 error :
1.an error occurred while creating your account I have attached an image of the error.

I'm not sure where to start to get this resolved. Any ideas how to fix?

19343_0qA6CzLjmV78q9D8YmDk_t

Link to comment
Share on other sites

  • 2 months later...

Any one manage to resolve this? The problem persists in 1.3 RC 6 as well. A bit of a disaster really.

thanks,
Nigel




EDIT:


Ok, cleared my error log so I could look into this a bit. I am not exactly a programmer so here goes....

PHP Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/sabochar/public_html/authentication.php on line 84
[19-May-2010 18:00:14] PHP Parse error: syntax error, unexpected $end, expecting ']' in /home/sabochar/public_html/authentication.php on line 84


Line 84 is as follows...

$addrFirstname = isset( $_POST['firstname']) ?  $_POST['firstname'] : $_POST['customer_firstname'];




which is exactly the same as line 83 for last name which does not throw an error.

Link to comment
Share on other sites

I'm not getting this error message on my website, but I did notice that the line you mention has extra space characters that the previous line doesn't have. Try changing the line from:

$addrFirstname = isset( $_POST['firstname']) ?  $_POST['firstname'] : $_POST['customer_firstname'];



to:

$addrFirstname = isset($_POST['firstname']) ? $_POST['firstname'] : $_POST['customer_firstname'];

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
  • 2 weeks later...
  • 3 weeks later...
  • 3 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...