calc problems and tmp directory

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

Thanks, Roger

-- Roger (webmaster@quikstart.com), April 06, 1999

Answers

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";

--
God bless!

-- Patrick Chan (patrickccf@hotmail.com), March 20, 2000.


Moderation questions? read the FAQ