Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Row in table customer overwritten


trinuin

Recommended Posts

Posted

Hello,

 

i am developer and implemented a webshop with oscommerce v2.2 for a client of me.

 

I have (suddenly) the following problem:

customer 1 orders and have to create an account.

after a little time customer 2 orders and also have to create an account.

what happens now, i see in the tables, that there is no record of customer 1

within the table customers. there is one for customer 2.

order 1 contains however al the right data (invoice adress etc.)

order 2 contains right data except that the invoice adress is that of

customer 1.

 

if i try to replay it, everthing goes well. so it doesn't appear any time.

that is what i see also in the tables.

 

i have made changes to the software. in this part i have only left out some

fields my client doesn't want to be filled in by a customer.

i have comment these out and nothing else.

 

any help very welcome! where to find it or how to monitor it to see when and

what goes wrong. what can be the problem?

 

kind regards,

peter

Posted

It will help if you say what fields you have commented out. YOu may have commented out a field that is used as an index.

Posted

It will help if you say what fields you have commented out. YOu may have commented out a field that is used as an index.

 

i had to look. was some time ago.

i made a entry in the configuration table to switch on/off the field date of birth.

 

customers now have to enter:

sexe

surname

name

email-address

company name (made this optional)

street

number

zipcode

city

country

telephone number

fax number (optional as it was)

checkbox newsletter

password

password confirm

Posted

someone suggests it has to do with the session id.

i just heared that a customer sees the data of another customer when confirm the order.

 

where can i find a good explanation of the use and behaviour of the session data?

Posted

someone suggests it has to do with the session id.

i just heared that a customer sees the data of another customer when confirm the order.

 

where can i find a good explanation of the use and behaviour of the session data?

 

 

found it in Tips and Tricks within this forum:

What is the osCsid & why you must not loose it

 

if i read the story quickly i see problems described as i experience now. so chances are i destroy somewhere this id. reading and searching to do.....

Posted

okay, no luck.

i have compared all the links in the software against the rule to use tep_href_link to get the right link with osCsid.

and it does!

i have test it and test it and every time it all goes okay.

customer data in the table, order in the table and related to the right customer.

 

any idea to look for further will be very welcome!!!

Posted

okay, no luck.

i have compared all the links in the software against the rule to use tep_href_link to get the right link with osCsid.

and it does!

i have test it and test it and every time it all goes okay.

customer data in the table, order in the table and related to the right customer.

 

any idea to look for further will be very welcome!!!

 

i seems okay now thanks to postings on the dutch os commerce forum.

i found explanation of the config.php and that is, so it semms, the trick.

Archived

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

×
×
  • Create New...