Dear lray,
I can't get on the phone with you, nor can any other Researcher, since
the policy of this service prohibits us from taking up outside
communication with askers. I can help you with this problem, however.
The principal reason why your users can't post vents is that the
venting script doesn't have the right permissions on your new server.
The form calls a script at this location --
http://www.jenniferterran.com/cgi-bin/jt/vent.pl
-- and the script, vent.pl, is indeed there, but outside users don't
have permission to execute it.
What you or another site administrator have to do is the following.
Log in to your webhost account, then navigate to the cgi-bin/jt
directory, and execute the following command.
chmod 755 vent.pl
The form should now work.
If you can't log in through a text terminal, then you'll have to use
your graphical webhosting interface to navigate to the cgi-bin/jt
directory, select the vent.pl file, and change its permissions so that
everyone can read it and everyone can execute it. Don't let everyone
write to it, however. In some nomenclatures, this mode is called
world-readable and world-executable. You don't want to make it
world-writable.
If you have any difficulty following these instructions, don't
hesitate to post a Clarification Request so that I can help you change
the file permissions for vent.pl on your webhost. In the event that
you don't have terminal access, please let me know what kind of
control panel or web interface you're using to administer your
webhosting account.
Regards,
leapinglizard |
Request for Answer Clarification by
lray-ga
on
21 Mar 2005 17:21 PST
Sorry it's taken me so long to get back to you.. google had a problem
with my card and locked me out.. it's fixed now.
Unbelieveably, I was successful at following you first instructions.
However, it's now showing another problem. I'm not sure what this
means, but I will say that the .pl file was not in that directory when
I discovered the problem. I put it there after looking into the page
code and seeing that it was referred to. But I just put it there by
dragging and dropping (from a backup disk that my wife had) in
dreamweaver.
I'm working on a PowerbookG4.
If I need to put that file there with the terminal, please give
specific directions on what commands to use. Last time I had to tap
my memory of unix from sixth grade computer class to remember the
command cd/ . And that was a long time ago. I was very impressed
with myself, needless to say.
thanks again!
Landon
|
Clarification of Answer by
leapinglizard-ga
on
21 Mar 2005 18:22 PST
It doesn't matter how you get the file there, as long as it ends up in
the right spot.
My diagnosis of the CGI error message tells me that you have the
vent.pl in the right place and that it has the right permissions, but
it's calling a piece of software that's in a different place on your
new server.
What I'd like you to do is the following.
First, look at the first line of vent.pl using any tool you please,
whether Dreamweaver or some text editor. It probably looks something
like this.
#!/usr/bin/perl
Tell me exactly what it is so I can follow along.
As a second step, log in to the webhosting account and execute the
following command.
which perl
Show me the output. It's probably something like /usr/local/bin/perl,
or at any rate something similar to -- but not quite identical -- to
what is given in the first line of the vent.pl file.
Finally, open the vent.pl file and modify the first line so that the
pathname reflects the output of the above command. If, for example,
"which perl" returns /usr/local/bin/perl, you would change the first
line of vent.pl so that it reads as follows.
#!/usr/local/bin/perl
Now test the script and see if it works. Remember, you need to change
the vent.pl file that resides in the webhosting account, not just on
your local machine.
If something goes wrong, please get back to me with the results I've noted above.
leapinglizard
|