basepath and database

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

Hi, am using barry scripts to set up shop for record store... have set the option in smart.cfg for: $cgiurl = "http://www.unsound.com.au/cgi-bin.smart.cgi"; and the $secureurl = "https://www.cia.com.au/unsound/uns/cgi-bin/smart.cgi have been informed by the webadmin that the basepath is $basepath= "/www/db/unsound/uns"; am using standard web store setup for present.

Does this seem correct, if the demofooter and demoheader are appearing in the front page?

Second Q

$resourcedb = "uns.db"; fields in uns.db follow smart.cgi suggestions for column headers and groups is the final field.

Does the .db file have to have headers in it to specify the fields?

Third Q groups are configured: %groups = ('12EP', 'LP', 'CD', 'CDS', '12'); front page opens up OK including demoheader and demofooter.html select option only contains 1 option usually the third one in the group, this also happens when using the demo.db upon pressing button for group search am returned with internal 500 error

can anyone assist with situation, am relative newbie to perl and cgi but have some basic understanding.

thanks in advance

-- William Kolln (wkolln@cia.com.au), February 22, 1998


Moderation questions? read the FAQ