|CGI Ushop.pl Error|
|CGI Ushop.pl Error|
Author Mark on 01-16-2002 at 13:48 (EST)
|The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:|
Can't locate D:/126.96.36.199/cgi-bin/ushop-languages.pl in @INC (@INC contains: C:/perl/lib C:/perl/site/lib .) at d:188.8.131.52cgi-binushopushop.pl line 52.
This comes up when i try to view ushop.pl in the browser to login to the control panel. I'm able to run the cgitest.pl.
I'm running the shop as a demo with a view to order the product.
I'm running on WinNT 5.0
Any help would be greatly appreciated!! Thank you.
|Messages In This Discussion|
| 1. RE: CGI Ushop.pl Error|
Author Joseph Pishgar on 01-16-2002 at 14:34 (EST)
So your getting an error that says:
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
There are several things that may be causing the problem...
SUGGESTION #1: Just to make sure, have you tried letting the uShop CGI Setup Wizard create a script for you? That is, the CGI Setup Wizard at our reference site:
will actually generate a CGI script configured for your server along with personalized instructions on how to install it on your server.
SUGGESTION #2: If it is still not working, below is an description/solution of a similar problem....(not quite the same, but just in case....)
As we sometimes help people get the script setup on their server, we did run across this once. The person gave us two paths to Perl on their server:
When using #!/usr/local/bin/perl5.00502 for the path to Perl (the first line of the script), we got the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, firstname.lastname@example.org and inform them of the time the error occurred, and
anything you might have done that may have caused the error.
There was also some additional information available about the error:
[Sun Jan 24 07:38:41 1999] access to /u/web/bestb7/cgi-local/ushop_cgiscript.pl failed for
184.108.40.206, reason: Premature end of script headers
Then when we changed the path to #!/usr/local/bin/perl, and everything worked fine.
I'm not exactly sure what type of server they were using (since we just FTPed to the server/account that they gave us), but changing that path (I'm guessing to an older version of Perl) worked. Again, we have only ran into this once and the uShop CGI script should have worked with Perl 5.00502 - but I don't know why we got the error.
In anycase, double-check the path to perl that you are using and try using the server recommended path to perl (should be in your web host's documentation if they provided you with any) if that is an option.
Let us know how it goes.
Microburst Technologies, Inc.
| 2. uShop.pl Problems|
Author Mark on 01-16-2002 at 14:40 (EST)
|I downloaded the uShop CGI Setup Wizard and ran it successfully. The uShop_cgiscript.pl works. However, I still get the same error message when I try to access http://220.127.116.11/cgi-bin/ushop/ushop.pl.|
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Can't locate http//18.104.22.168/cgi-bin/ushop-languages.pl in @INC (@INC contains: C:/perl/lib C:/perl/site/lib .) at d:22.214.171.124cgi-binushopushop.pl line 52.
cgitest.pl also runs fine! Any suggestions. I could really use some help. Thank You so much.