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.
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.