Smartrack.cgi Not listing ordersgreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread |
I cannot seem to get smartrack.cgi to list the orders or to place them in the track.db file. It is creating the orders in the order directory but no where else. Also when you select "track your order" it just displays a blank table. The url is www.flash.net/~wetherel/cgi-bin/casa/casa.cgi. Any help or thoughts would be greatly appreciated.
-- Robert Palmer (rpalmer@illuminactive.net), May 29, 1998
I had the same problem and tracked it down to a path problem in the smart.cgi file.Search for "#Write the order to the tracking DB" and change the line following it (that opens the file) to include explicit pathing, ie:
open (TRACK, >>"$basepath$delim$trackdb");
Solved the problem for me.....
-- Dan Freeman (dan@breezeway.org), December 30, 1998.
Also....you need to make sure that the $trackdb variable defined in smart.cfg contains the appropriate pathing from your $basepath definition.For example, mine is defined as "cgi-bin/track.db" as I have the database in the cgi-bin directory.
-- Dan Freeman (dan@breezeway.org), December 30, 1998.