Urgent Help needed with smartrack.cgi

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hi,

I have a problem with tracking my orders, I am not using the database version of the shopping cart but the html version, but I still want to keep track of my orders. So I installed the smartrack.cgi configured the smart.cfg But when I click on view tracking order I get a blank page. I don't think its writing to the track.db (which I have created in the order directory, under the shopping caart dir)

Can anyone please help me, I have no idea why its doing this, is there something else that I have to do.

Thank you for you time and help in advanced

Abir :( :(

-- Abir Mustafa (abir@beam.coom.au), June 25, 1999

Answers

Hi,

You have to set "smartadmin.cgi" to "1".

# $useadmin = 0 (don't use it) # $useadmin = 1 (use it!) ################################################################ $useadmin = 1;

And set "smartrack" to "1". You will need the "cookie.lib" file you can find it on "Matt's Script Archive's"

Jim

-- James L. Farmer (jim@team-blankets.com), June 30, 1999.


Hi,

After installing the "cookie.lib" and testing and reading "smartrack.cgi" has a security problem and tracking was moved to "smartadmin.cgi". I changed the "smartrack.cgi" to "smartadmin.cgi" and it works the same. And after all the work and reading you don't need the "cookie.lib" it works without it.

$usetrack = 1;

if ($usetrack eq 1) {

# URL to the tracking script $trackurl = "http://www.foo.com/cgi/smartadmin.cgi";

Just set it like that change the URL to yours.

Jim

-- James L. Farmer (jim@team-blankets.com), June 30, 1999.


Moderation questions? read the FAQ