Same items in multiple carts!greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
I am running S-Mart on Hypermart. My problem is that whenever someone places an item in their cart, it goes into the carts of all users. In example: I (using one ISP) place the test item in my cart. A friend (with a totally different ISP) goes to the site and reviews his cart. It says he has the same test item. I checked the dir /tmp and it was only writing one file, with no IP number after it. I am assuming this is the problem. Any help would be GREATLY appreciated.
Thank You, Joseph Schoepp email@example.com
-- Joseph Schoepp (firstname.lastname@example.org), March 31, 1999
I have got he same problem. In an earler version, and if you didnot use the Item ID. It worked. let me know if you figure it out.
-- Lynn Cronemiller (Kidzstore@aol.com), April 14, 1999.
Replace in the smart.cgi: REMOTE_HOST with REMOTE_ADDR
This should fix the problem.
-- Richard Staubli (email@example.com), July 12, 1999.
I have this same problem. In the tmp directory, I get one file called "storename-" as if it wants to put in the IP address but can't find it. I tried Switching all the REMOTE-HOST to REMOTE-ADDR in the smart.cgi, but then my script would not run at all (500 error). Which one do I need to change?? Could it be a server problem??
-- John Webber (firstname.lastname@example.org), July 14, 1999.