Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: CGI Error; Can't locate Links.pm in @INC: Edit Log

Here is the list of edits for this post
CGI Error; Can't locate Links.pm in @INC
Hi

I've just built pages for the first time. Worked fine. "Homepage" works fine as well. But, when I try to "add" or "modify", I get a CGI error, and the same one in both cases:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't locate Links.pm in @INC (@INC contains: d:\www2\asp.stiften\cgi-bin\links/admin C:/Perl/lib C:/Perl/site/lib .)
at d:\www2\asp.stiften\cgi-bin\links\add.cgi line 17.
BEGIN failed--compilation aborted at d:\www2\asp.stiften\cgi-bin\links\add.cgi line 17.
I have checked the paths in @INC. Links.pm is located in the folder "d:\www2\asp.stiften\cgi-bin\links/admin ",
and the path to perl is C:\Perl\bin\perl.exe.


Below I've CV'd the lines from add.cgi.


15 use strict;
16 use lib 'd:\www2\asp.stiften\cgi-bin\links/admin';
17 use Links qw/$CFG/;
18 use Links::User::Add;


The question is, is there anybody who has experienced the same error message, and if so, what was the solution to the problem.

cheers

Helgi

Last edited by:

helgi: Jan 29, 2003, 5:12 AM

Edit Log: