Gossamer Forum
Home : Products : DBMan : Installation :

CGI Error

Quote Reply
CGI Error
I'm trying to transfer a website that uses the DBman scripts from a Colbolt (unix) box to winNT IIS i have perl 5.6.0 installed nd have other cgi's running but this one won't work I get the 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 Time/Local.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at D:\AmadorShops\db\dbman\db.cgi line 1072.
BEGIN failed--compilation aborted at D:\AmadorShops\db\dbman\db.cgi line 1072.

looks like I'm missing a perl modual maybe ? I tried on 3 web servers with perl all got the same error.

TIA for any help
Regards
Steve

Quote Reply
Re: CGI Error In reply to
Cobalt is Linux not Unix......

Anyway.....

Yes Time::Local isn't installed - you will ned to get your host to install it, or if you have root access.....


shell> perl -MCPAN -e 'install Time::Local'

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: CGI Error In reply to
is that the same for win NT ? i tried your line:

shell> perl -MCPAN -e 'install Time::Local'

but it didn't do anything. Yes I have root/admin accesson the system

Quote Reply
Re: CGI Error In reply to
Nope...but you can use MSDOS to run the same command line...

Regards,

Eliot Lee
Quote Reply
Re: CGI Error In reply to
Ah sorry. I'm not sure about NT - but you can download it manually.

EDIT:
Check Eliot's answer.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: CGI Error In reply to
Just incase....

You didn't include the shell> bit did you?.....That wasn't meant to be added in the command line....

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: CGI Error In reply to
No, I ran it like this and nothing happened.

c:\perl\bin\perl.exe -MCPAN -e 'install Time::Local'

can I just download it from somewhere ?
BTW ..I just download and reinstalled perl 5.6.1 build 626 and still doesn't work.

Quote Reply
Re: CGI Error In reply to
http://www.cpan.org

Look for Local or Time.

Regards,

Eliot Lee
Quote Reply
Re: CGI Error In reply to
OK i went to cpan.org and downloaded local.pm along with about 3 others it said it couldn't find and now I get this error. I copied over a backup of the original db.cgi to make sure I didn't do something and I get the same thing, and i'm not sure what it means.

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


[Fri May 4 13:39:35 2001] (eval 1): Array found where operator expected at (eval 1) line 1, at end of line
[Fri May 4 13:39:35 2001] (eval 1): (Do you need to predeclare Carp::longmess?)
[Fri May 4 13:39:35 2001] (eval 1): Array found where operator expected at (eval 1) line 2, at end of line
[Fri May 4 13:39:35 2001] (eval 1): (Do you need to predeclare Carp::shortmess?)
[Fri May 4 13:39:35 2001] (eval 1): Array found where operator expected at (eval 1) line 3, at end of line
[Fri May 4 13:39:35 2001] (eval 1): (Do you need to predeclare Carp::shortmess?)
[Fri May 4 13:39:35 2001] (eval 1): Array found where operator expected at (eval 1) line 4, at end of line
[Fri May 4 13:39:35 2001] (eval 1): (Do you need to predeclare Carp::longmess?)
[Fri May 4 13:39:35 2001] Local.pm: String f