Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Fatal Error - Invalid Date Format

Quote Reply
Fatal Error - Invalid Date Format
Im in the process of moving Links 2.0 from one ISP to another. Most of it seems to work, but when I do a build all.... I get this error.

Please advise what I should do.


Building URL Index . . .
Done.
Updating New and Popular Records . . .
CGI ERROR
==========================================
Error Message : fatal error: invalid date format: 6-Mar-2099 - parsed as (day: 6, month: 2, year: 199). Reason: Can't handle date (0, 0, 0, 6, 2, 199) at links.cfg line 167
Script Location : nph-build.cgi
Perl Version : 5.006001

164 require Time::Local;
165 my $time = 0;
166 eval {
167 $time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year);
168 };
169 if ($@) { die "invalid date format: $date - parsed as (day: $day, month: $months{$mon}, year: $year). Reason: $@"; }
170 return $time;

Foghat
Subject Author Views Date
Thread Fatal Error - Invalid Date Format foghat 2794 Jan 12, 2005, 4:56 AM
Thread Re: [foghat] Fatal Error - Invalid Date Format
PerlFlunkie 2730 Jan 12, 2005, 10:34 AM
Post Re: [PerlFlunkie] Fatal Error - Invalid Date Format
foghat 2726 Jan 12, 2005, 1:04 PM