I have read many posts in here about the nph-build.cgi script returning the error fatal error: invalid date format... yadayada... but nobody has yet posted a good solution to the problem. I had the same problem occur and here is the skinny....
The basic problem has been established... it is that when you (or your server host) upgrades to Perl version 5.006 it does not correctly render the Time::Local subroutine which is called from various scripts in links 2.0.
Strangly enough the solution is absurdely simple. In your links.cfg script you would make one alteration... you simply add a 1 to the end of the $year
So for example on (my line 292) in links.cfg It would look like:
$time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year1);
instead of:
$time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year);
Just do this and it should solve all of your problems.
It's not really y2k related, but more y2k.1 related problem. :)
The year is sent as a three digit variable in the new perl configuration. So unfortunately, you will actually have to change this each year... i.e. next year to a 2... but it's the best I could come up with for now!
Good luck.
The basic problem has been established... it is that when you (or your server host) upgrades to Perl version 5.006 it does not correctly render the Time::Local subroutine which is called from various scripts in links 2.0.
Strangly enough the solution is absurdely simple. In your links.cfg script you would make one alteration... you simply add a 1 to the end of the $year
So for example on (my line 292) in links.cfg It would look like:
$time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year1);
instead of:
$time = &Time::Local::timelocal(0,0,0, $day, $months{$mon}, $year);
Just do this and it should solve all of your problems.
It's not really y2k related, but more y2k.1 related problem. :)
The year is sent as a three digit variable in the new perl configuration. So unfortunately, you will actually have to change this each year... i.e. next year to a 2... but it's the best I could come up with for now!
Good luck.