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

Full path is good but db.pl is here

Quote Reply
Full path is good but db.pl is here
Can't imagine where's the problem.
Before to post my question here, I've read a lot of similar problems on this forum but the answers are always concerning the full path.
For me, I get the same error message : "can't find /home/mylogin/www/cgi-bin/links/admin/db.pl in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at admin.cgi on line 28..."
(of course, my login is my real login).
So, I'm wondering what I've made wrong ?

Line 28 of "admin.cgi" file is :
require "$db_lib_path/db.pl"; # Database Routines.

Here's what's in my "links.cfg" file :
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/mylogin/www/cgi-bin/links/admin";
$db_dir_url = "http://www.sinoiseries.org/cgi-bin/links/admin";

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

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

"db.pl" file is in the "admin" folder =
(/cgi-bin/links/admin/db.pl)

I'm sure the full path is correct. I'm using it for others cgi/perl scripts. (you can verify here http://faq.ovh.fr/?do=showq&qid=67)

Is there anybody to help me see where I'm wrong ?

Thanks a lot.
Pascale.
Subject Author Views Date
Thread Full path is good but db.pl is here Pascale 5170 Jun 21, 2002, 3:22 PM
Thread Re: [Pascale] Full path is good but db.pl is here
wysardry 5073 Jun 21, 2002, 4:52 PM
Thread Re: [wysardry] Full path is good but db.pl is here
Pascale 5089 Jun 21, 2002, 5:27 PM
Thread Re: [Pascale] Full path is good but db.pl is here
wysardry 5071 Jun 21, 2002, 6:57 PM
Post Re: [wysardry] Full path was not so good
Pascale 5069 Jun 21, 2002, 11:16 PM