Big problems on NT

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

This the Error:

syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 4, next 2 tokens "my $version " syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 32, next 2 tokens "use vars" syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 39, next 2 tokens "my(" syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 51, next 2 tokens "my $path " syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 52, next 2 tokens "my $perl " syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 53, next 2 tokens "my $sendmail " syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 54, next 2 tokens "my $dir " syntax error in file /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi at line 60, next 2 tokens "my $command " Execution of /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi aborted due to compilation errors. [Wed Aug 25 13:49:52 1999] [error] [client 195.86.51.85] Premature end of script headers: /usr/local/etc/httpd/htdocs/vws/sellweb/cgi-bin/winkel.cgi

-- Patrick Nijhuis (P.nijhuis@artpoint.nl), August 25, 1999

Answers

Hi,

When you use a NT system the slashes are reversed. "/" should be "\\" Also in the "smart.cfg" file you have to set for "NT".

# System: are you using Un*x , Win32, or MacOS ?? # 1 = unix # 2 = Win32 (WinNT / Win95) # 3 = MacOS $system = 2;

Set to "2" to use "NT".

Jim

-- James L. Farmer (jim@team-blankets.com), August 25, 1999.


Moderation questions? read the FAQ