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

Newbie Help Please!

Quote Reply
Newbie Help Please!
After sitting here for near 6 hours trying to get this to work i thought it might be a good idea to post a msg here :)
I have gone through the posts on this subject and still cant get it to work... if someone could pleaseeeeeee help it would be much appreciated!

Error Msg:
Error including libraries: Can't locate /cgi-bin/admin/db.pl in @INC (@INC contains: /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 .) at /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin/admin.cgi line 28.

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

OK...now here is what i have in my links.cfg file

Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/admin";
$db_dir_url = "http://www.mysite.com/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.mysite.com/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/pages";
$build_root_url = "http://www.mysite.com/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

AND this is what i have in my admin.cgi file

require 5.001; # Make sure we have at least perl 5.001.
require "/home/myaccount/cgi-bin/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$db_lib_path/db.pl"; # Database Routines.
require "$db_lib_path/db_utils.pl"; # Database Support utilities.
require "$db_lib_path/admin_html.pl"; # Admin HTML routines.
};

I am pretty sure i have all the permissions set correctly...but on the readme.txt it doesnt mention what to set the .pl files to....should they be set to 755, and if these are wrong would it make a difference?

And also...4. Edit links.cfg and set as a minimum...what does set as a minimum mean?

Thanks in Advance! -:)


Quote Reply
Re: Newbie Help Please! In reply to
Hello

are U really sure to put the absolut path in links.cfg???
because it seems that U put a different absolut path in admin.cgi...

Ciao

Quote Reply
Re: Newbie Help Please! In reply to
hi blondebomb,

your full paths should look like this

Code:
$db_script_path = "/home/blondebomb/www/cgi-bin/admin";
$build_root_path = "/home/blodebomb/www/pages";
and of course your url's must match your server like http://www.blondebomb.com


ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: Newbie Help Please! In reply to
Yes, a good script to find out this is Ace Vars at http://www.ace-installer.com/acevars.html. This helped me find out the absolute path on my server.