I am getting a fatal error message. S-Mart not working at all.

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

I am just starting to set up S-Mart. I have followed all the setup information as written in Readme.html. I can't get the script to work. I am on Hypermart. Here is the error I get in response to http://www.affordable-treasures.com/cgi-bin/S-Mart.cgi?command=review:

Failed Script (Apache Error 500)

The script you're trying to access has suffered a fatal error. If you've recently altered the code, you may try to isolate the error by running perl -w . Alternately, if you are a visitor, please try again at a later time. The site administrator has already been notified of the error; it may be helpful if you could contact us with any additional information about your form input.

At the cgierror location the following message appears:

Premature end of script headers: /data1/hypermart.net/treasure-house/cgi-bin/S-Mart.cgi

help

-- Beverly F. Jones (treasure_house@prodigy.net), January 02, 2000

Answers

The access permission for all related files has not been changed. Please do the following:

chmod 755 *.cgi chmod 755 *.lib chmod 777 demo.db chmod 755 *.html

* PS - remember to read the documentation first (README file) before trying out anything.

God bless!

-- Patrick Chan (patrickccf@hotmail.com), January 17, 2000.


Moderation questions? read the FAQ