hi there, i just installed the fec, i have selected to use create_account2.php for check out. after customer fills in info on create_account2.php, i click next, it gave me an error:
0 -
insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('0', '0', now())
which the query is from:
tep_db_perform(TABLE_CUSTOMERS, $sql_data_array);
$customer_id = tep_db_insert_id();
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())");
is the $customer_id supposed to be 0? i have checked the "tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); " does insert the record for the customer, but "$customer_id = tep_db_insert_id();" didn't get the customer_id out.
do i miss anything anywhere? or anything i didn't set up? please help. thanks.