Gossamer Forum
Home : Products : Gossamer Links : Discussions :

CGI Error; Can't locate Links.pm in @INC

Quote Reply
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
Subject Author Views Date
Thread CGI Error; Can't locate Links.pm in @INC helgi 6691 Jan 29, 2003, 4:53 AM
Thread Re: [helgi] CGI Error; Can't locate Links.pm in @INC
ManuGermany 6571 Jan 29, 2003, 5:13 AM
Thread Re: [ManuGermany] CGI Error; Can't locate Links.pm in @INC
helgi 6582 Jan 29, 2003, 5:16 AM
Thread Re: [helgi] CGI Error; Can't locate Links.pm in @INC
Paul 6582 Jan 29, 2003, 5:30 AM
Thread Re: [Paul] CGI Error; Can't locate Links.pm in @INC
helgi 6596 Jan 29, 2003, 5:48 AM
Thread Re: [helgi] CGI Error; Can't locate Links.pm in @INC
Andy 6585 Jan 29, 2003, 6:01 AM
Thread Re: [Andy] CGI Error; Can't locate Links.pm in @INC
helgi 6564 Jan 29, 2003, 6:04 AM
Thread Re: [helgi] CGI Error; Can't locate Links.pm in @INC
pugdog 6546 Jan 29, 2003, 9:54 AM
Thread Re: [pugdog] CGI Error; Can't locate Links.pm in @INC
Paul 6594 Jan 29, 2003, 10:01 AM
Thread Re: [Paul] CGI Error; Can't locate Links.pm in @INC
pugdog 6544 Jan 29, 2003, 11:56 AM
Thread Re: [pugdog] CGI Error; Can't locate Links.pm in @INC
helgi 6546 Jan 30, 2003, 3:48 AM
Thread Re: [helgi] CGI Error; Can't locate Links.pm in @INC
pugdog 6553 Jan 30, 2003, 3:59 AM
Post Re: [pugdog] CGI Error; Can't locate Links.pm in @INC
helgi 6510 Jan 30, 2003, 4:03 AM
Post Re: [helgi] CGI Error; Can't locate Links.pm in @INC
webmaster33 6554 Jan 30, 2003, 5:46 AM
Thread Re: [pugdog] CGI Error; Can't locate Links.pm in @INC
helgi 6466 Mar 17, 2003, 2:57 AM
Post Re: [helgi] CGI Error; Can't locate Links.pm in @INC
Alex 6428 Mar 18, 2003, 1:07 AM