This is a discussion on create_account.php has stopped working ok within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi folks, I've run into problems with the create_account.php file. Been running ok for a while, but now I get ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi folks, I've run into problems with the create_account.php file. Been running ok for a while, but now I get 0 - insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, customers_info_source_id) values ('0', '0', now(), '0') [TEP STOP] When someone tries to create an account. I've tracked it down to the line in the create_account.php $customer_id = tep_db_insert_id(); just after tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); Not bringing back the correct value for $customer_id The line tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, customers_info_source_id) values ('" . (int)$customer_id . "', '0', now(), '". (int)$source . "')"); Is therefore trying to insert the record as customer_id 0 and this is where it bombs out. Anbody got an idea why the function tep_db_insert_id() would stop working? Regards, - Earl |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shipping Modules suddenly stopped working? | SavageSinister | osCMax v2 Features Discussion | 10 | 11-28-2006 09:32 AM |
| can't access create_account.php | kiokoCatAList1 | osCMax v2 Installation issues | 7 | 10-26-2006 02:52 AM |
| Tax & Coupons Just Stopped working??? | toddw | osCMax v2 Features Discussion | 2 | 02-16-2006 12:16 PM |
| Help! Downloads stopped working & the admin is stumpted. | midwestwebsites | osCMax v1.7 Discussion | 1 | 06-01-2005 08:22 PM |
| My create_account page broke down... | loba | osCMax v1.7 Discussion | 0 | 03-30-2005 02:23 AM |