calc problems and tmp directorygreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
I'm experiencing inconsistencies with the way S-Mart is adding items to the cart. Items not previously selected are appearing on the Summary page and items zeroed out and recalculated aren't being removed. In some cases, if I reload the page the correct items appear, but not always. I'm wondering if it has to do with my /tmp directory. I have it set up with the proper permissions but it is always empty. Where is /tmp supposed to be placed?
Any other ideas/solutions would be appreciated.
-- Roger (firstname.lastname@example.org), April 06, 1999
1. The TMP directory must be created in the directory same with the SMART.CGI and SMART.CFG. 2. In the SMART.CFG make sure $tmpdir = "tmp"; not "/tmp". Same goes with $orderdir = "order";
-- Patrick Chan (email@example.com), March 20, 2000.