PDA

View Full Version : Please help (why won't it work?)



Waldo
June 11th, 2001, 23:49
Hi,

I'm trying to set up a script which incorporates some HTML templates. On every host I have tried it on when I try to submit the form, it says something like "Could not execute CGI. No such file or directory"

All settings appear to be correct and accurate to the server I am using it on. I don't know Perl but this thing has apparently easy instructions. Even when I take the original files and just change the necessary paths, I get this error. I got it working several months ago, and I paid like $70-$80 for it at cosmicperl.com so it should at least work right. Can anyone help?

lucifer
June 12th, 2001, 07:11
sounds like the paths are wrong

Waldo
June 12th, 2001, 09:22
The paths are correct, it's hosted on hobbiton.org and their path to perl is /usr/local/bin/perl which is what I have it set as. Everything appears to be correct..

lucifer
June 12th, 2001, 12:05
so the first line is

#!/usr/local/bin/perl

can you get any scripts to run?

Waldo
June 12th, 2001, 18:43
Correct that is the first line. FormMail seems to work OK after testing.

However if you want to look at what I'm running into, you can try the form at http://paidper0.hobbiton.org/join.html

lucifer
June 12th, 2001, 18:56
sure that url is right I'm getting page not found :(

meow
June 14th, 2001, 03:01
I do. The cgi should be here:
http://paidper0.hobbiton.org/join1.cgi

But that gets "ERROR: Could not execute CGI: No such file or directory"

I don't think that means the cgi isn't there. Trying ..../blah.cgi gets a standard 404 page.
But the script can't be downloaded either.

chmod right?
All paths in the script right?

Just rambling. Haven't a clue really.