Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

fatal error: Can't locate Time/Local.pm

Quote Reply
fatal error: Can't locate Time/Local.pm
I just installed links 2.0, and everything was working great, I was even able to make a catagory. When I tried to make a link however, I got the error: "fatal error: Can't locate Time/Local.pm in @INC" What the heck happened, I couldnt even find a file named Local.pm. Here is the full error text:

Quote:
CGI ERROR
==========================================
Error Message : fatal error: Can't locate Time/Local.pm in @INC (@INC contains: /www/cgi-bin/links2/admin /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at /www/cgi-bin/links2/admin/links.cfg line 160.

Script Location : /www/cgi-bin/links2/admin/admin.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------
Category : AffCases
Contact Email : contact@cross-x.com
Contact Name : Cross-X.com
Date : 5-Jan-2000
Description : An In depth analysis of vouchers.
Hits : 0
ID : 3
Rating : 0
ReceiveMail : Yes
Title : NEA on Vouchers
URL : http://www.nea.org/issues/vouchers/grvouch.html
Votes : 0
add_record : Add Link
db : links
isNew : Yes
isPopular : No

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 321
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/htdocs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/xbm, image/x-jg, */*
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : lastLogin=2451549.0955; LastLoginDT=01-05-2000%2009%3A55%20AM; DaysPrune=20; NameStorage=yes; UserName=de-pocalipse; Password=gondor17; sessionLogin=2451549.0953; sessionLoginDT=01-05-2000%2009%3A53%20AM
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : www.cross-x.com
HTTP_REFERER : http://www.cross-x.com/cgi-bin/links2/admin/admin.cgi?db=links&add_form=1
HTTP_UA_CPU : PPC
HTTP_UA_OS : MacOS
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC)
PATH : /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING :
REMOTE_ADDR : 140.239.64.60
REMOTE_HOST : 140.239.64.60
REMOTE_PORT : 2456
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/links2/admin/admin.cgi
SCRIPT_FILENAME : /www/cgi-bin/links2/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links2/admin/admin.cgi
SERVER_ADMIN : root@localhost
SERVER_NAME : www.cross-x.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.2.6

could someone help me figure out what to do,

Thanks much,
- Geddes
Quote Reply
Re: fatal error: Can't locate Time/Local.pm In reply to
Hi. I had a similar problem.
#1 You need to re-upload the Time/Local.pm file in ASCII. All of the fatal errors I got were because something funky happened in the upload (eventhough I had ASCII mode chosen).
#2 After that, make sure that the file is capitalized right. I renamed mine to match the upper and lower case letters..and all works great now. Smile Time/Local.pm is not the same as time/local.pm to the comp. Smile
Good luck.