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

Can't locate db.pl

Quote Reply
Can't locate db.pl
I am on virtualave.net, I get a error when I try to go to the admin.cgi script. It tells me:
Error including libraries: Can't locate /home/greatgames/cgi-bin/links/admin/db.pl in @INC (@INC contains: /usr/libdata/perl/5.00502/mach /usr/libdata/perl/5.00502 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at admin.cgi line 28.

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

what permissions do i set it to? i tried them all what can i do? can anyone help me?


Quote Reply
Re: Can't locate db.pl In reply to
It is not a permission problem...as discussed many times in this forum...you need to set the ABSOLUTE PATH to your links.cfg file in the following require line:

Code:

require "links.cfg";


Add the ABSOLUTE PATH, like /user/www/account/cgi-bin/links/admin/ before the links.cfg file, like the following example:

Code:

require "/user/www/account/cgi-bin/links/admin/links.cfg";


Regards,

Eliot Lee