Welcome to WebmasterWorld Guest from 54.163.40.152

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Small error on collective

     

Greg

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

5+ Year Member



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

littleman

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

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



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

Greg

4:18 pm on Jul 14, 2000 (gmt 0)

5+ Year Member



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.

littleman

9:13 pm on Jul 14, 2000 (gmt 0)

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



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.

Greg

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

5+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month