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

Can't locate /links.cfg

Quote Reply
Can't locate /links.cfg
Error including libraries: Can't locate /links.cfg in @INC (@INC contains: /home/pstrshawn/cgi-bin/links/admin /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at /home/pstrshawn/cgi-bin/links/admin/admin.cgi line 27.

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


Here is kine 27:

require "home/pstrshawn/cgi-bin/links.cfg";

Here is links.cfg:

PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "home/pstrshawn/cgi-bin/links/admin";
$db_dir_url = "http://www.hawthorneministries.org/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/pstrshawn/public_html/links";
$build_root_url = "http://www.hawthorneministries.org/links";

please advise.
Quote Reply
Re: Can't locate /links.cfg In reply to
I'm pretty new to this as well but your ? seems familiar to one that I had.

your line:


Here is kine 27:

require "home/pstrshawn/cgi-bin/links.cfg";


try to change to:


"home/pstrshawn/cgi-bin/admin/links.cfg";

hopes this works!
Quote Reply
Re: Can't locate /links.cfg In reply to
Opps make an error:

Try this:


"home/pstrshawn/cgi-bin/links/admin/links.cfg";
Quote Reply
Re: Can't locate /links.cfg In reply to
Actually, that should be:

Quote:
/home/pstrshawn/cgi-bin/links/admin/links.cfg

Ya gotta have the "/" at the beginning.
Quote Reply
Re: Can't locate /links.cfg In reply to
Thanks everyone! It was the / before everything that was causeing trouble.

Kudos
Quote Reply
Re: Can't locate /links.cfg In reply to
you need a leading "/" before "home"

--mark