Data Base problem (I think)greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
Ok, I must be dense, After going through the Message boar I still can't get my database to display.
http://www.iwebworks.net/local/smart/smart.cgi?command=review produces the expected results (header, empty basket, footer)
http://www.iwebworks.net/local/smart/smart.cgi?command=listitems&type=all&pos=0 on the other hand prints the header and nothing else.
Here's the particulars: smart.cfg: $basepath= "/home/iwebworks/public_html/cart"; $header = "header.html"; $footer = "footer.html"; $resourcedb = "demo.db"; #the original demo database
demo.bd is in the same directory as the footer and header files and I did the "chmod 777 demo.db". Since It's still not workg and so many of you have it working I've obviously missed something. Any ideas?
-- Wayne Dickinson (email@example.com), March 21, 2000