HELP - mailing list script

They have: 314 posts

Joined: Nov 1999

Hello. I decided to go for soulutionscripts powerlist mailing list to run my newsletter but for some reason when I try to run the mail.cgi prog from the cgi-bin it is located in it gives me a internal 500 server error. Can someone take a look at the script which I have configured to see why it wont work. My mail.cgi script and my cgi-bin are both chmod to 755 (which is what it says to do) and the address of the mail.cgi in the cgi bin is http://lightning.prohosting.com/~tminton/cgi-bin/mail.cgi

Please can someone help?

------------------
Thomas Minton
www.javaplace.co.uk

They have: 53 posts

Joined: Dec 1999

Did you upload the cgi scripts in in Binary or ASCII?

------------------
http://www.coolresources.com

They have: 314 posts

Joined: Nov 1999

I'm not entirely sure. I used to use cuteFTP which automatically chose which one to upload in but now I use bulletproof FTP which doesn't. Which one should I upload in?
Thanks

------------------
Thomas Minton
www.javaplace.co.uk

They have: 334 posts

Joined: Dec 1999

It's most likely caused my a configuration error. Check the first few lines of the script to make sure you have the paths set right. Make sure both the path to Perl (that's the first line in the script) and the path to your directory (likely something like /usr/www/public_html/cgi-bin/) are correct for your system and server. That's what causes most 500 errors in pre-written, tested scripts. It's almost always an error in one of those places.

Also, one other thing to check. The script most likely is using a text file to store the names of the list members. Make sure that the file exists (you might need to create it as it won't be included with the script itself), is uploaded to the right directory, is named correctly and is CHMODed correctly.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.