I dunno if I should ask for help on this here or at Keespot. ^^;; If I'm at the wrong spot, feel free to tell me to move it.
But, anyway, I'm trying to use Auto Keenlite. However, the tags my indextemplate aren't functioning, and it's probably something that I did, or didn't do.
Basically, I need help more indepth than the readme file, because I'm an idiot.
Address = <a href="http://us.lilyknickers.com/indextemplat ... te.html</a>
Thank ye.
Auto Keenlite
Auto Keenlite
--Jessica<P>You can't blow up Stinky! He's not even moving!
** <A HREF="http://something.keenspace.com" TARGET=_blank>http://something.keenspace.com</A>
** <A HREF="http://aerochild.keenspace.com" TARGET=_blank>http://aerochild.keenspace.com</A>
** <A HREF="http://something.keenspace.com" TARGET=_blank>http://something.keenspace.com</A>
** <A HREF="http://aerochild.keenspace.com" TARGET=_blank>http://aerochild.keenspace.com</A>
You just have to love 500 internal server error ... it's so informative.
There's several things that could be wrong, and I'm not used to dealing with autokeen lite, so they're just generic cgi/perl issues.
1) The script might be croaking because us.lilyknickers.com/d/ doesn't exist
2) The script have trouble handling the directory structure of the server, depending on how eccentric it is
3) The perl interpreter may not be installed in /usr/local/bin/perl or at all
4) The script mgiht be unable to modify index.html, create d/ and the pages in it, etc. because it's running with the webserver's permissions.
1 you can fix by creating d/ (or whatever you chose). 2 you can't do much about other than hacking the script. 3 you have to ask your host about. 4 you can fix by giving "others" (as opposed to user and group) read, write, and execute permission for the directories and read and write permission for the files OR you could run the script from the shell (if you have access).
Once again, these are just guesses.
As for the readme, it fails to cover a some important things. If all else fails, you can always e-mail Gav begging for help ...
Edit: I just thought of something else, make sure you upload the script in ASCII mode. If you don't then the end of line charachter sequence may not be what the perl interpreter expects, causing it to fail.
There's several things that could be wrong, and I'm not used to dealing with autokeen lite, so they're just generic cgi/perl issues.
1) The script might be croaking because us.lilyknickers.com/d/ doesn't exist
2) The script have trouble handling the directory structure of the server, depending on how eccentric it is
3) The perl interpreter may not be installed in /usr/local/bin/perl or at all
4) The script mgiht be unable to modify index.html, create d/ and the pages in it, etc. because it's running with the webserver's permissions.
1 you can fix by creating d/ (or whatever you chose). 2 you can't do much about other than hacking the script. 3 you have to ask your host about. 4 you can fix by giving "others" (as opposed to user and group) read, write, and execute permission for the directories and read and write permission for the files OR you could run the script from the shell (if you have access).
Once again, these are just guesses.
As for the readme, it fails to cover a some important things. If all else fails, you can always e-mail Gav begging for help ...
Edit: I just thought of something else, make sure you upload the script in ASCII mode. If you don't then the end of line charachter sequence may not be what the perl interpreter expects, causing it to fail.
Hm, I didn't upload it in ASCII and I didn't have a d directory, so I added those, and it still doesn't appear to be working. Do I need any other folders like Workspace or Public_html?
2) The script have trouble handling the directory structure of the server, depending on how eccentric it is
Have no clue on how to find that out.
3) The perl interpreter may not be installed in /usr/local/bin/perl or at all
Hm, I dunno if I have Perl . . . Yes I do.
"Perl Version 5.006001
Perl Path /usr/bin/perl"
Do I need one like that on the actual us.lilyknickers.com folder?
4) The script mgiht be unable to modify index.html, create d/ and the pages in it, etc. because it's running with the webserver's permissions.
Index.html won't even pop up unless if I upload one myself.
Hmmm, if all else fails I can just do it manually, but this woulda helped lots. >_>
But thank you very much for your help! If you can think of anything else, I'm all ears.
2) The script have trouble handling the directory structure of the server, depending on how eccentric it is
Have no clue on how to find that out.
3) The perl interpreter may not be installed in /usr/local/bin/perl or at all
Hm, I dunno if I have Perl . . . Yes I do.
"Perl Version 5.006001
Perl Path /usr/bin/perl"
Do I need one like that on the actual us.lilyknickers.com folder?
4) The script mgiht be unable to modify index.html, create d/ and the pages in it, etc. because it's running with the webserver's permissions.
Index.html won't even pop up unless if I upload one myself.
Hmmm, if all else fails I can just do it manually, but this woulda helped lots. >_>
But thank you very much for your help! If you can think of anything else, I'm all ears.
--Jessica<P>You can't blow up Stinky! He's not even moving!
** <A HREF="http://something.keenspace.com" TARGET=_blank>http://something.keenspace.com</A>
** <A HREF="http://aerochild.keenspace.com" TARGET=_blank>http://aerochild.keenspace.com</A>
** <A HREF="http://something.keenspace.com" TARGET=_blank>http://something.keenspace.com</A>
** <A HREF="http://aerochild.keenspace.com" TARGET=_blank>http://aerochild.keenspace.com</A>
the first line of the autokeen script is called a "shebang line" (sp) and specifies the location of the interpretor to use on the file. If the path is incorrect (and it is) then the script will not work. Just change
#!/usr/local/bin/perl
to
#!/usr/bin/perl
and that will fix at least one (hopefully the only) problem
#!/usr/local/bin/perl
to
#!/usr/bin/perl
and that will fix at least one (hopefully the only) problem
Well then, I would say e-mail gav and/or your hosting service. You should definitely e-mail your hosting service if you've never succesfully used a cgi/perl script, they might also be able to find out what errors the script is putting out (which would help a lot with figuring out what the problem is). I really don't have time or motivation to read and mentally dissect the autokeen light script.
Last edited by Atrus on Sat Sep 07, 2002 10:22 pm, edited 1 time in total.
I know SmartFTP supports chmod and it's free.
