Jump to content

Needs Help With 'subscribe Me' Software


Recommended Posts

Hello,

This is my first cgi script, and I really need some help. I am trying to install a program called "Subscribe Me", by www.SiteInteractive.com. I have read their readme file, and tried my best to upload it to the TCH server, but nothing is happening...

I'm pretty sure that I just am typing in the wrong path names in the script? Here is the relevant code for the .pl script that I've uploaded to the /cgi-bin in public_html:

 

################ Start Required Configurations ################

 

# Type the full path to your Mail program

$mailprog = '/usr/bin/sendmail';

 

# Type the full path to your Subscribe Me directory

# We highly recommend a "non-web" directory. This will protect

# your address list from snooping individuals. If you are unsure

# if you have access to such a directory, contact your host to find out.

$memberinfo = "/home/olympad/subscribe";

 

# Type the full path to your Administration Password directory

# We highly recommend a "non-web" directory. This will protect

# your address list from snooping individuals. If you are unsure

# if you have access to such a directory, contact your host to find out.

$passfile = "/home/olympad/adminpass";

 

# Type your email address. Make sure to place a \ in front of the @

# As an example: cgi\@elitehost.com

$list_mail = "support\@olympicadvantage.com.com";

 

# Type the name of your mailing list

$list_name = "Register";

 

# Type your website URL (example: http://www.yoursite.com)

$websiteurl = "http://www.olympicadvantage.com";

 

# If you are run the script and receive File Locking (flock)

# errors, remove the number 2 from between the quotes.

# Then it would appear: $LOCK_EX = "";

$LOCK_EX = "2";

 

============================

 

ANY help that anyone can give is greatly appreciated!

 

Thanks!

Link to post
Share on other sites

I am not familiar with that particular script but I do notice somehting that looks odd

# Type your email address. Make sure to place a \ in front of the @

# As an example: cgi\@elitehost.com

$list_mail = "support\@olympicadvantage.com.com";

I think there are to many .com's in there

Link to post
Share on other sites
In addition to what Robert has said, two things come to mind.  Did you upload the file in ASCII mode?  And did you change the permissions to 755 (rwxr-xr-x)?

 

 

I've removed the extra '.com' in the email address.

 

ASCII mode? 755? Um, sorry, no, not even sure how to do that. Let me check Google to see to how do that real quickly now...

Link to post
Share on other sites
In addition to what Robert has said, two things come to mind.  Did you upload the file in ASCII mode?  And did you change the permissions to 755 (rwxr-xr-x)?

 

 

I've removed the extra '.com' in the email address.

 

ASCII mode? 755? Um, sorry, no, not even sure how to do that. Let me check Google to see to how do that real quickly now...

 

==========

OK, I've changed the permissions to 755, simple enough.

And I believe it was uploaded in ascii (well, text file at least). The file name is subscribe.pl Do I have to change it to 'subscribe.cig'?

 

Also, since it's in the cgi bin, what is the exact url to get to it? If my regular url is www.olympicadvantage.com, then do I need to find it at : http://www.olympicadvantage.com/public_htm...in/subscribe.pl ?

 

Thanks.

Link to post
Share on other sites

Oh yea, as for the ASCII mode upload, I don't use FTP to get my files onto the TCH server. I just log into the CPanel, and upload directly from my computer. I don't think there is a choice for ascii or binary from cpanel upload. I'm guessing that it recognizes the .cgi and .pl files accordingly.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...