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

Problems with install on IIS

Quote Reply
Problems with install on IIS
I have a few problems. It seems to be working except for these two things. I can add links and build it.


When I click on check link in admin I get the following error:

Error Loading System Libraries. Reason: Can't locate links.cfg in @INC (@INC contains: E:/perl/lib E:/perl/site/lib .) at E:\InetPub\wwwroot\cgi-bin\links\admin\nph-verify.cgi line 34.

thanks

Quote Reply
Re: Problems with install on IIS In reply to
If you searched for Can't locate links.cfg in this forum via the forum's search form, you would've found many Threads where this problem has been addressed.

Again, what you need to do is use the FULL ABSOLUTE PATH, including DRIVE LETTER in the first require line in ALL your .cgi scripts, including admin.cgi.

Like the following:

Code:

require "C:/Inetpub/wwwroot/youraccount/cgi-bin/links/admin/links.cfg";


Make sure that you use the correct case settings for your drive letter and folder names where your account resides.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Problems with install on IIS In reply to
I've changed it in the admin.cgi

Where else does it need changed?

Quote Reply
Re: Problems with install on IIS In reply to
In ALL your CGI scripts as I already mentioned....

In Reply To:

Again, what you need to do is use the FULL ABSOLUTE PATH, including DRIVE LETTER in the first require line in ALL your .cgi scripts, including admin.cgi.


Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Problems with install on IIS In reply to
Thanks, I have that fixed.

Now when I click on check links, I get this error:

CGI ERROR
==========================================
Error Message : error in verify_links. unable to open db file: ./data/links.db. Reason: No such file or directory
Script Location : E:\InetPub\wwwroot\cgi-bin\links\admin\nph-verify.cgi
Perl Version : 5.006


Quote Reply
Re: Problems with install on IIS In reply to
You need to make sure that your links.db is set to the following:

USER: Read, Write
IWAM_MACHINE: Read, Write
IUSR_MACHINE: Read, Write
Admin: Read, Write, Execute, Delete, Modify (full control)

Also, make sure that your DATA directory and sub-folders are all set to READ, WRITE, DELETE, EXECUTE.

If you are unable to change file and directory permissions, then ask your hosting company for assistance.



Regards,

Eliot Lee
Quote Reply
Re: Problems with install on IIS In reply to
Still getting the same error

Quote Reply
Re: Problems with install on IIS In reply to
Contact your hosting company...and if you are operating your own server, I would HIGHLY recommend purchasing and reading Perl for Win32.

Good luck!

Regards,

Eliot Lee