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

have tried full path get odd error

Quote Reply
have tried full path get odd error
every path derivation I have tried gives this
Error including libraries: Can't locate /cgi-bin/admin/links.cfg 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 line 27.

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

in telnet it shows [stedu@www] as a prompt but the script crashes with anything but @INC
Any ideas? @INC only lists perl bins

Quote Reply
Re: have tried full path get odd error In reply to
That is not the full path...You are using the RELATIVE PATH.

You need to use something like the following:

Code:

require "/host/machine/account/cgi-bin/admin/links.cfg";


Contact your hosting company if you have no idea what your ABSOLUTE PHYSICAL PATH where your account resides.

Regards,

Eliot Lee

Quote Reply
Re: have tried full path get odd error In reply to
I have exactly the same problem. My paths are definitely correct starting from/usr/home etc. All other cgi's working fine.