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

moved LINKS dir now jump.cgi can't find links.cfg

Quote Reply
moved LINKS dir now jump.cgi can't find links.cfg
HELP PWEEZ! <whimper> Any help would greatly appreciated!!!

Okay...here's the deal:
1. Originally i had installed all the files into
"D:\inetpub\scripts\links" but I wanted to move them into another directory "D:\inetpub\scripts\library\links" So i did that and made the appropriate changes to the links.cfg file. I then went into admin.cgi and rebuilt the page successfully.

2. Everything is fine, but when I try click on a link it says: "Error including libraries: Can't locate admin/links.cfg in @INC (@INC contains: D:\InetPub\scripts\library\links C:/Perl/lib C:/Perl/site/lib .) at D:\InetPub\scripts\library\links\jump.cgi line 34.
Make sure they exist, permissions are set properly, and paths are set correctly."

3. Line 34 of my jump.cgi file reads 'require "admin/links.cfg";'
I have tried changing this to 'require "/admin/links.cfg"' and to 'require "d:/Inetpub/scripts/library/links/admin/links.cfg"' to no avail.

4. Everything was working until i made that simple directory change.

5. All *.cgi files in the D:\Inetpub\scripts\links\ do not work (like add.cgi, search.cgi, etc)...However I CAN run simple CGI program in that directory that does a 'print "Hello, world."' and it runs with no problems (So i think Perl and execute permissions are fine)...

Any thoughts?

Thanks for your time!