maury Posted June 30, 2006 Posted June 30, 2006 Hi i have problems when newc ustomers register theirself on my website...the address does not appear .. in create_accout.php i have : ....... tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array); $address_id = tep_db_insert_id(); /*## WORKAROUND ##*/ $address_id=1; tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'") ...... i think in these lines there is some mistakes..someone can help me...? ( sorry for my bad english) thanks Maury
Guest Posted June 30, 2006 Posted June 30, 2006 try taking out this: /*## WORKAROUND ##*/ $address_id=1; then check if you can create a new account
maury Posted June 30, 2006 Author Posted June 30, 2006 try taking out this: /*## WORKAROUND ##*/ $address_id=1; then check if you can create a new account THANKS ... Now it works..i'm not expert i hope tha t without that line i will have not other problems ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.