Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Help installing a script... (http://www.greenguysboard.com/board/showthread.php?t=4206)

sickkittens 2004-01-25 07:49 PM

Help installing a script...
 
I'm trying to install a simple dating script but I'm getting an error right from the beginning during installation. (I get a 500 Internal Error when I go to the setup area.)

This is a simple script and I'm guessing it's either a CHMOD issue or htaccess issue but I still can't figure it out.

Is there someoen here who would be able to give me a hand?

thanks,

Homer

ICQ - 78881543

soggy 2004-01-25 07:53 PM

What script?

soggy 2004-01-25 07:56 PM

MML should be around soon. He more then likely will be able to help you.

DangerDave 2004-01-25 08:03 PM

#1 did you upload the executable script files in ASCII mode?

#2 are your paths correct?

#3 is your path to perl correct

Triple check these .. they are the most common cause.

Check your server logs for the "actual" error.

DD

sickkittens 2004-01-25 08:18 PM

Quote:

Originally posted by DangerDave
#1 did you upload the executable script files in ASCII mode?

#2 are your paths correct?

#3 is your path to perl correct

Triple check these .. they are the most common cause.

Check your server logs for the "actual" error.

DD

I think I'm having a problem setting up my .htaccess file. I know my path to perl but I think I'm not setting up my htaccess file. :(

Cleo 2004-01-25 08:23 PM

Disable your htaccess file and then see if the script works.

The CGI files should be chmod 755 and often database files or directories need to be chmod 777.

DangerDave 2004-01-25 08:27 PM

What Cleo said...


..and.. if your htaccess has " " around the Auth Name

try it without them

DD

sickkittens 2004-01-25 08:31 PM

Quote:

Originally posted by soggy
What script?
http://www.livetamil.com/scripts/netpals/

sickkittens 2004-01-25 08:36 PM

Quote:

Originally posted by Cleo
Disable your htaccess file and then see if the script works.

The CGI files should be chmod 755 and often database files or directories need to be chmod 777.

By disabling what do I need to do? Sorry, never had to do this before.

sickkittens 2004-01-25 08:39 PM

This is the install directions...

Folder Setup 2 :

\cgi-bin

\data
|- data.dat [ASCII UPLOAD] [CHMOD 751]
|-.htaccess [ASCII UPLOAD] [CHMOD 755]
|- converter.cgi [UPLOAD IF YOU NEED IT]
\templates
|- admin.ltpals [ASCII UPLOAD] [CHMOD 777]
|- add.ltpals [ASCII UPLOAD] [CHMOD 777]
|- edit.ltpals [ASCII UPLOAD] [CHMOD 777]
|- search.ltpals [ASCII UPLOAD] [CHMOD 777]
|- view.ltpals [ASCII UPLOAD] [CHOMD 777]
|- form.ltpals [ASCII UPLOAD] [CHMOD 777]
\skins
|- style1.pl [ASCII UPLOAD] [CHOMD 755]
\- add.cgi [ASCII UPLOAD] [CHMOD 755]
- admin.cgi [ASCII UPLOAD] [CHMOD 755]
- common.pl [ASCII UPLOAD] [CHMOD 755]
- config.pl [ASCII UPLOAD] [CHMOD 755]
- edit.cgi [ASCII UPLOAD] [CHMOD 755]
- hostname.txt [ASCII UPLOAD]
- index.cgi [ASCII UPLOAD] [CHMOD 755]
- info.cgi [ASCII UPLOAD] [CHMOD 755]
- search.cgi [ASCII UPLOAD] [CHMOD 755]
- sendmail.cgi [ASCII UPLOAD] [CHMOD 755]
- upload.cgi [ASCII UPLOAD] [CHMOD 755]

- README.txt [DON'T UPLOAD]

\public_html
\photos
\icons
\ST1
|- all gifs and jpegs [BINRY UPLOAD]
\- index.shtml [IF YOU ARE FAMILIAR WITH SSI USE THIS, FILE NOT INCLUDED]
- search.shtml [IF YOU ARE FAMILIAR WITH SSI USE THIS, FILE NOT INCLUDED]
- edit.shtml [IF YOU ARE FAMILIAR WITH SSI USE THIS, FILE NOT INCLUDED]
- add.shtml [IF YOU ARE FAMILIAR WITH SSI USE THIS, FILE NOT INCLUDED]


1.2 CONFIGURATION

Instructions :
Open config.pl and edit all variables. Detailed instructions available in script. Once you
edit that upload it and you are ready to go. Check if the script works by typing in the url to
your main directory. If index.cgi doesn't get executed in your server use index.shtml instead.
The SSI that has to go in your index.shtml is

Note : Make sure all your url are pointing to your domain. Please do not load the images off
livetamil.com.

Cleo 2004-01-25 08:48 PM

Quote:

Originally posted by sickkittens
By disabling what do I need to do? Sorry, never had to do this before.
Just rename it. To re-enable just name it back to .htaccess

Did you set the variables in config.pl

Did you chmod all the files?

sickkittens 2004-01-25 08:49 PM

Quote:

Originally posted by Cleo
Just rename it. To re-enable just name it back to .htaccess

Did you set the variables in config.pl

Did you chmod all the files?

I CHMOD'ed all files.

When I try to open config.pl that is where I get the 500 error.

Cleo 2004-01-25 08:54 PM

You need to open config.pl in a text editor before you upload it to the server and set the variables in that file.

If you have a code editor that will open text files right on the server you can also do it that way.

This is not done through a web browser.

You go to config.pl in a web browser after you have edited it in a text editor.

MrMaryLou 2004-01-25 08:56 PM

I moved the thread to this area for ya but you might want to check you path to pearl

sickkittens 2004-01-25 09:29 PM

Still no luck. I must be stupid. :(

sickkittens 2004-01-25 09:35 PM

Ok, I sorta have it going now...but...for some reason, I'm getting the database of the script example.

http://www.sickkittens.com/cgi-bin/index.cgi

sickkittens 2004-01-25 11:09 PM

Got it working for the most part. Thanks for the help everyone. |buddy|


All times are GMT -4. The time now is 04:14 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc