Hi,
some people may remember I have had problems with getting the analogform cgi
form to work with the perl file. Well, I have made some progress and would
appreciate guidance on how to get over the current problem.
I can (as before) run the perl program from the command line - getting the
offline prompt i.e. (offline mode: enter name=value pairs on standard
input). I can enter values there, then ctrl+c returns the c prompt again,
and after a short while the analog output appears at the prompt. That all
seems OK.
Other miscellaneous perl programs work OK at the command line, and from html
cgi forms.
When I try and run anlgform.pl from a html cgi form I now get the error
message
"Program Failure
Analog failed to run or returned an error code.
Maybe your server's error log will give a clue why. [Tue Jul 4 10:58:36
2000] E:\develop\seinternet\cgi-bin\anlgform.plx:
"e:\develop\analog\analog.exe" failed to run or returned an error code. Died
at E:\develop\seinternet\cgi-bin\anlgform.plx line 139."
This failure is at section 4 of the anlgform.plx i.e.
# 4) WAIT FOR PROCESS TO FINISH. THAT'S IT.
unless (close(ANALOG)) {
badreq(500, "Program Failure",
"Analog failed to run or returned an error code.",
"Maybe your server's error log will give a clue why.");
print STDERR "[$lt] $progname: \"$analog\" failed to run or returned an
error code";
print STDERR ": $!" if ($!);
print STDERR ".\n";
die;
}
where line 139 is the line " die; "
This is the most helpful message I have got so far, but the server log
simply shows the 500 error code for internal server error, and the NT event
viewer does not show any error.
Any ideas?
I am using Active Perl for Win 32 build 522 on NT4 using IIS4. In IIS4 I
have configured the application settings for .plx extensions to
c:\perl\bin\perl.exe -w %s %s
Grateful for any help.
John Clayton
Webmaster
The Scottish Executive
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
**********************************************************************
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------