Auto Keenlite

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
Bialy
Regular Poster
Posts: 53
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Auto Keenlite

Post by Bialy »

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.
--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>

User avatar
Atrus
Regular Poster
Posts: 757
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Atrus »

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.
If it doesn't work, make it.
-An updated taglossary
-A quick FAQ

Bialy
Regular Poster
Posts: 53
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Bialy »

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. XD

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>

User avatar
Atrus
Regular Poster
Posts: 757
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Atrus »

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
If it doesn't work, make it.
-An updated taglossary
-A quick FAQ

Bialy
Regular Poster
Posts: 53
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Bialy »

Hmm, doesn't seem to have. O_o It's probably something so simple.

User avatar
Atrus
Regular Poster
Posts: 757
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Atrus »

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.
If it doesn't work, make it.
-An updated taglossary
-A quick FAQ

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

Don't forget the "Did you flag it 'execute' ?"

User avatar
Atrus
Regular Poster
Posts: 757
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Atrus »

indeed

A lot of FTP clients don't show permissions by default, you can usually right click on the file and select something like properties or permissions and view/modify them.
If it doesn't work, make it.
-An updated taglossary
-A quick FAQ

Bialy
Regular Poster
Posts: 53
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Bialy »

Dammit, I swear to God I thought WS_FTP LE had that function. o_o

Meh, this is crap. XD I'm not smart enough to figure this out. Ah well, manually updating isn't so bad.

User avatar
Atrus
Regular Poster
Posts: 757
Joined: Fri Jan 01, 1999 4:00 pm
Contact:

Post by Atrus »

I know SmartFTP supports chmod and it's free.
If it doesn't work, make it.
-An updated taglossary
-A quick FAQ

Post Reply