Welcome to WebmasterWorld Guest from 54.167.152.177

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Small error on collective

     
4:01 am on Jul 14, 2000 (gmt 0)

New User

5+ Year Member

joined:Oct 11, 2008
posts:4
votes: 0


The collective looks like a great script, however when I was installing it I received the following error:

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 common.lib in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at D:\home\mysite\cgi-bin\collective\collective.cgi line 95.

Does anyone understand that error? I've played around with it and can't seem to find a solution. Thank you.
-Greg

Edited by: Greg

5:30 am on July 14, 2000 (gmt 0)

Senior Member

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 17, 2000
posts:2924
votes: 0


Looks like you may have a path problem. In a windows perl environment it is typical to have to put two forward slashes '\\' when you are laying out a path. The first slash allows perl to see the second slash as part of the path.
So C:/Perl/site/lib would be changed to C:\\Perl\\site\\lib
And
C:/Perl/lib would be C:\\Perl\\lib
4:18 pm on July 14, 2000 (gmt 0)

New User

5+ Year Member

joined:Oct 11, 2008
posts:4
votes: 0


Well, for some reason i can't find where it says C:/Perl/lib in the script itself. That's partly what's confusing me.
Also, I'm supposed to put the .lib's in the same directory as the collective.cgi script right?
sorry for the newbieness.
9:13 pm on July 14, 2000 (gmt 0)

Senior Member

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 17, 2000
posts:2924
votes: 0


Greg,
Go to line 95 and look for
require "common.lib";

Replace that line with

require "D:\\home\\mysite\\cgi-bin\\collective\\common.lib";

that should fix your problem. I had to download the script so I could see what you were looking at.

9:55 pm on July 14, 2000 (gmt 0)

New User

5+ Year Member

joined:Oct 11, 2008
posts:4
votes: 0


GREAT! Thank you so much littleman! And thank you too brett for the great script!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members