osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

create_account.php has stopped working ok

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-21-2005, 07:47 AM
Lurker
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
earjw
Default create_account.php has stopped working ok

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 12:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax