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

Error including libraries: Can't locate

Quote Reply
Error including libraries: Can't locate
hello i'm still trying
i tried putting links in the root instead of the cgi-bin i get this:

Error including libraries: Can't locate /web/sites/286/antokin/mars55.f2s.com/links/admin/db.pl in @INC (@INC contains: /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 .) at admin.cgi line 28.

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

links.cfg:

# =====================================================================

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/web/sites/286/antokin/mars55.f2s.com/links/admin";
$db_dir_url = "http://www.mars55.f2s.com/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/web/sites/286/antokin/mars55.f2s.com/adwallpages";
$build_root_url = "http://www.mars55.f2s.com/adwallpages";

# 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";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

i'll trying changing the adwallpages to just pages

Quote Reply
Re: Error including libraries: Can't locate In reply to
web/sites/286/antokin/mars55.f2s.com/links/admin
doesn't look like a FULL path to me. Btw, these problems have been addressed in the forums hundreds of times already.


Quote Reply
Re: Error including libraries: Can't locate In reply to
No, I will bet 'ch that is not the correct path for it Wink. Try searching their sites FAQ to get the correct one. If it were me, I would move servers though to a paid one Laugh

Andy

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!