Running NT - Problem with CGIgreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
I receive the following error when using Windows NT as the server. CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: times not implemented at D:\home\nt66f122\cgi-bin\redicart\smart.cgi line 59.
What does this mean?? I am new to CGI and am trying to get this online store up.
Please try and inform me as to what I need to change, the store is online at http://184.108.40.206/order.html
Thx for the help.
Jon Michigan Computer Corporation
-- Jon (email@example.com), December 24, 1998
I ran into this same problem...however I am also new to CGI scripting...I figured out that the time function is either not allowed or simply doesn't work on an NT version of PERL. I had to disable it. As a result it kills only one part of the program, and that is the statement in the script that tells you how long it took for the script to execute. You can leave the copyright information for the program in but remove the lines that do the amount of time to process the script, or you will receive errors. I simply remarked mine out by placing a # in front of each line I didn't want. This wont hurt any of the functionality. I do have a full working version of it for NT now. It took me almost 2 weeks but I managed to modify the script enough to get it to work. There really isn't that many things that need to be fixed....if you run into another problem let me know and I will try to help you out.
William Deniston firstname.lastname@example.org
-- William Deniston (email@example.com), December 30, 1998.