Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create new user error


itsnatalie

Recommended Posts

Hi

 

Am new here and am posting because I'm going round in circles and can't figure this out :'(

 

In the catalog/includes/languages/english.php page I've changed Street Address to Address Line 1 to suit UK market with that field required (and set to a minimum of 5 characters), but when I try and create a new user by completing the form and clicking Continue, the page reloads with an error message of "Error Your Address Line 1 must contain a minimum of 5 characters."

 

I tried changing the minimum characters to zero and successfully created a new account, but the Street address field was empty...

 

Many thanks!

Natalie

Link to comment
Share on other sites

Hi all

 

Found the error, was in catalog/create_account.php

 

changed $street_address = tep_db_prepare_input($HTTP_POST_VARS['Address Line 1']);

 

to: $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']);

and all fixed.

 

dont remember changing it, but couldnt have been anyone else!

 

N

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...