error: "can't locate smart.cfg in @ INC

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

Ok, despite the fact that still can't get S-MArt cart up and running I do believe I'm making process.

This is the current message I get when trying to access S-Mart.cgi:

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't locate smart.cfg in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\WEBSHARE\WWWROOT\LIQUIDLATEX\cgi-bin\S-Mart.cgi line 27.

-- Jess Dansereau (jessi@gis.net), February 17, 2000

Answers

@INC error will occur when you try to load in a file that cound not be found in any of the libraries. Another word, the Perl has not been configured properly. Are you running the S-Mart program in Personal Web Server? If so, you might need to consider using other web servers that would work better.

--
God bless!


-- Patrick Chan (patrickccf@hotmail.com), February 24, 2000.

I believe you'll find you have left either the single ('...') or double ("...") quote marks off a directory path in your config file. Probably your perl is OK as it has to be working to get that far, I think.

-- Roger Mole (roger@ashbury.ndo.co.uk), February 27, 2000.

Moderation questions? read the FAQ