500 error headers

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

why do i keep getting a 500 premature end of headers when i try to run the script can anyone out there help me pleaseeee

-- c szczoczarz (chris4z@upyours.co.uk), February 06, 2000


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

1. chmod 755 *.cgi 2. chmod 755 *.lib 3. chmod 777 demo.db 4. chmod 755 *.html

God bless!

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

The script has a missing or additional parenthesis, ie. ",',\ and etc. Try check the areas you have modified specially those PRINT command section.

eg. print "\n";

The "Search" should be replace as \"Search\". Correct one is:

print "\n";

-- God bless!

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

Moderation questions? read the FAQ