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

Help! -- Error message

Quote Reply
Help! -- Error message
I keep getting this error message -- my paths all seem correct.

Can anyone tell me what the following means:

Error including libraries: Can't locate /cgi-bin/links/admin/db.pl in @INC (@INC contains: . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /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.



Thanks in advance
Quote Reply
Re: [screenking] Help! -- Error message In reply to
>/cgi-bin/links/admin/db.pl

It seems this is not the correct path

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Help! -- Error message In reply to
Where can I locate the SCRIPT_FILENAME variable for the correct path?

or - HOW can I locate the correct path?



thanks!
Quote Reply
Re: [screenking] Help! -- Error message In reply to
a full pathname on unix usually starts off something like:
Code:
/home/domain_or_username/www

Check your host's documentation or ask your admin. If all else fails, use a simple script to print your your %ENV variables.

--Philip
Links 2.0 moderator
Quote Reply
Re: [screenking] Help! -- Error message In reply to
The SCRIPT_FILENAME variable is correct
Are you sure that the /cgi-bin/links/admin/db.pl file is existed?

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Help! -- Error message In reply to
There are many cgi programs out there that can provide script paths, use google or yahoo etc etc and search for "Perl Diver". Its a small cgi script that will provide all details about your server, abs paths, sendmail details etc.

I hope this helps, if not please post back and I will email you the .zip file
Quote Reply
Re: [stu2000] Help! -- Error message In reply to
print $0

...put that in a script inside your admin directory.

Last edited by:

Paul: Mar 31, 2002, 1:58 AM
Quote Reply
Re: [stu2000] Help! -- Error message In reply to
Perl Diver fixed my problem (same as first poster's problem). Thanks for the link!
Quote Reply
Re: [stu2000] Help! -- Error message In reply to
That Perl Diver worked like a charm! My server told me the path was:
/usr/home/www/user/cgi-bin/links/admin
when the Diver told me it was:
/home/user/public_html/domain.com/cgi-bin/links/admin
I tried changing it and that worked!
I got the script from:
http://www.scriptsolutions.com/programs/free/perldiver/
Just had to CHMOD it 755 Smile