Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

installation troubles

Quote Reply
installation troubles
hi, I am trying to install links 2 to give it a testrun before I buy it, but I cannot get it to run.
I have installed all the files, and set all the chmod settings to what they are suppose to be, but when i try and run the admin.cgi, it wants to download it, all my cgi files are set to chmod 755, all the template files are set to 666, the directories are all set at 755, all settings are right, but it still wants to download, my other scripts run fine, they don't want to download, but this one does.
anyone can help me please contact me ICQ - 27959483
thanks..

Quote Reply
Re: installation troubles In reply to
In admin.cgi check your path to links.cfg. You should use the absolute path:
Code:
"/home/yourdomain/www/cgi-bin/links/admin/links.cfg"
or similar.

Thomas
http://www.japanreference.com
Quote Reply
Re: installation troubles In reply to
Use full paths EVERYWHERE.

In Reply To:
the directories are all set at 755, all settings are right,
All setting aren't right because you are not asked to chmod all directories to 755 - read the README again.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: installation troubles In reply to
When it wants to download, choose 'open in window' you will then see an error message saying what is wrong. If that doesn't seem to help you solve it then post the message here for people to look at.

Good Luck!

Glenn
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: installation troubles In reply to
I am having this same problem as well. When I choose the
'open file from this location' option (instead of the
download option) I get the following statement:

Error including libraries: Can't locate home/sexlinks/public_html/cgi-bin/links/admin/links.cfg in @INC (@INC contains: /home2/sexlinks/public_html/cgi-bin/links/admin /usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i686-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /home2/sexlinks/public_html/cgi-bin/links/admin/admin.cgi line 27.

Make sure they exist, permissions are set properly, and paths are set correctly.

I have checked and rechecked my permissions, and they all
seem to be correct. I have double checked the paths to my
files (/home/sexlinks/public_html/file_or_directory_names is
what was given to my by my host company) and they are
correct as well. Incidentally, how many lines of code are
supposed to be in admin.cgi?

Quote Reply
Re: installation troubles In reply to
Like stated above, you need to use the following codes in the admin.cgi script:

Code:

require "/home/sexlinks/public_html/cgi-bin/links/admin/links.cfg";


Note the bolded red codes...you are most likely missing the forward slash before "home".

Regards,

Eliot Lee
Quote Reply
Re: installation troubles In reply to
I changed the path to reflect what you suggested, and still
it is trying to download the file. Here is the message I
received this time:

_________________________________

Error including libraries: Can't locate /home/sexlinks/public_html/cgi-bin/links/admin/links.cfg at /home2/sexlinks/public_html/cgi-bin/links/admin/admin.cgi line 27.

Make sure they exist, permissions are set properly, and paths are set correctly.
_____________________________________

I don't know WHERE it is getting this /home2/.... reference.
The path to my files is /home/...........

Cheers,

Cynthia


Quote Reply
Re: installation troubles In reply to
Well then, you are using the incorrect path configs in your files.

Double check with your HOSTING COMPANY for which physical full paths you should use for CUSTOM CGI/PERL scripts.

Regards,

Eliot Lee
Quote Reply
Re: installation troubles In reply to
Here is the error........

Error including libraries: Can't locate /home/sexlinks/public_html/cgi-bin/links/admin/links.cfg at /home2/sexlinks/public_html/cgi-bin/links/admin/admin.cgi line 27.

Path being used....
/home/sexlinks/public_html/cgi-bin/links/admin/links.cfg

Correct path....
/home2/sexlinks/public_html/cgi-bin/links/admin/links.cfg



Installations:http://www.wiredon.net/gt/
Support: http://www.wiredon.net/forum/