View previous topic :: View next topic |
Author |
Message |
ntloc -
Joined: 26 Feb 2004 Posts: 35 Location: UT
|
Posted: Sat Feb 28, 2004 9:19 pm Post subject: Perl Path "The system cannot find the path specified&qu |
|
|
Hi, I install Perl and everything else like the instruction told me to do. I run the cgi script and everything is working fine accept when I open the cgi error log file out, it wrote in there: "The system cannot find the path specified." everytime I run any kind of cgi script (still working on the outside but it reports to cgi log error). My scripts are still working perfectly fine but is there anyway that I can fix the path or something to make that error go away.
This is my perl path I installed on my server:
C:/usr/bin/perl.exe
NOTE: I make the Dir Perl become usr so it can match the path in most cgi scripts.
Thank you! |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Feb 28, 2004 11:24 pm Post subject: |
|
|
When running Perl scripts, Abyss by default does not find the Perl interpreter by the script's #! line. You should try setting it to #!/Perl and in the Abyss console, make sure it is set to NOT resolve the interpreter from that line. _________________ Bienvenidos! |
|
Back to top |
|
|
ntloc -
Joined: 26 Feb 2004 Posts: 35 Location: UT
|
Posted: Sun Feb 29, 2004 1:56 am Post subject: Still giving the error! |
|
|
Yes, I set both:
Resolve interpreter using the script's #! line
Resolve interpreter using the Windows Registry
I set both of these to lines to NO in the Abyss Console but it still giving that error. |
|
Back to top |
|
|
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Sun Feb 29, 2004 5:31 am Post subject: |
|
|
Hi ntloc--
You should try setting "Resolve interpreter using the script's #! line" to "yes" while leaving the "Resolve interpreter using the Windows Registry" set to "no" and then making sure you have your correct path to the CGI Interpreter.
This from the help files in the console:
"Resolve CGI Interpreter using the #! Line in Script:
Read the first line of the CGI script. If it begins with #!, the rest of the line is considered as the path to the script's interpreter."
Regards,
Axis |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Feb 29, 2004 4:03 pm Post subject: Re: Perl Path "The system cannot find the path specifie |
|
|
ntloc,
To make you life easier, set "Resolve the interpreter using #! line" to No in Abyss and set the CGI Parameters of Perl as described in http://www.aprelium.com/abyssws/perl.html . Abyss will reply on the file extension ONLY to know what Interpreter it will use (and will ignore the #! lines so you can leave them unmodified). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
ntloc -
Joined: 26 Feb 2004 Posts: 35 Location: UT
|
Posted: Mon Mar 01, 2004 12:48 am Post subject: continue... |
|
|
Still giving that errors but i guess it's ok because all the scripts are wokring fine on the outside. It gave me the errors in the cgi error log but the scripts is working so... But thanks anyway, maybe this is just a bug and I hope your next version is going fix it. Like your server software alot.
Thanks again.
LN |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Mar 01, 2004 3:48 am Post subject: |
|
|
If anything its a bug with the
script , post a copy and i will
test it out for you! |
|
Back to top |
|
|
|