Tags:
create new tag
view all tags

Question

most times everything works fine, but sometimes when trying to save this error occurs: Software error: Month '-1' out of range 0..11 at ../lib/TWiki.pm line 1023

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, SmiliesPlugin
Server OS: Suse 8.2
Web server: Apache 2.0.46
Perl version: 5.8.0
Client OS: MS Windows XP, SP1
Web Browser: IE 6

-- UniMannheim - 11 Mar 2004

Answer

This is due to a problem with the date-interpretation function in the Feb 2003 release. Attached is a patch that will update that function in your TWiki.pm with some changes made since then.

To apply the patch, just run patch < date-update.patch in your TWiki installation's lib directory. If this doesn't solve your problem, reset this topic to AskedQuestions.

-- WalterMundt -31 Mar 2004

If you use RCSLite and the Feb 2003 release then you've got the MonthOutOfRangeWithRcsLite problem. In this case a more recent version (Twiki20030811beta) of RcsLight.pm and RcsFile.pm will fix the problem.

-- AlfonsMittelmeyer -12 Apr 2004

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch date-update.patch r1 manage 2.4 K 2004-03-31 - 13:08 UnknownUser Update for revDate2EpSecs function.
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-05-04 - PeterCarvey
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.