Script will not retrieve products from .db file?

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

When I run the script, the front page comes up. However when I try to "search", "list all products" or "select category" the next page is just the header...no products.

When I run the script from telnet (hoping to find the bug), it executes just fine. What am I doing wrong?

-- Jonathan Griffin (webmaster@guitaronline.com), January 06, 1998

Answers

You must ave set the "chmod" to 777 on all your database files. If using WSFTP to transfer files to your web site...click on the top "remote host" field, choose "site" and type "chmod 777 xxxx.db". xxx is whatever the name of your database file is. I had the same problem. I had overlooked this step in the readme file.

-- Toby Seavey (tseavey@aol.com), January 06, 1998.

I have the same problem but the permissions are corrects. Please can you tell me where the demo.db is supposed to be place exactly? idem for the tmp file. Thanks

-- Sibastien (s.septfons@idealcoms.net), June 04, 1999.

Try to set $useadmin = 1 in smart.cfg file

-- FRank (f.ristau@mnemonic-communication.de), November 15, 1999.

Moderation questions? read the FAQ