Tags:
create new tag
, view all tags

Question

Sometimes (I have no clue how to reproduce this error) when I try to change and save a page, I get the following error message:

quote -->
Software error:
Month '12' out of range 0..11 at /home/users/httpd/twiki/lib/TWiki.pm line 1023
>-- end of quote

I checked MonthOutOfRangeWithRcsLite but this does not seem to be the same error. We are not using RCSLite.

The *.txt,v file says: quote -->
head 1.4;
access;
symbols;
locks
www-data:1.4; strict;


1.4
date 2003.12.29.15.12.00; author guest; state Exp;
branches;
next 1.3;
>-- end of quote

An additional problem seems to be the date -- its August, not December.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Linux
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  

-- KlausNowikow - 26 Aug 2003

Correction

This one was my fault.

We used RCSLite before, and there I had an error, which I quickly "fixed" by changing line 1023 in TWiki.pm from return timegm( $6, $5, $4, $3, $2-1, $year ); to return timegm( $6, $5, $4, $3, $2, $year );

I didn't mean to waste your time. Sorry for that.

-- KlausNowikow - 26 Aug 2003

Answer

Closing the issue. Thanks for providing the solution.

-- TorbenGB - 27 Aug 2003

See patch at SavingProblemsWithMonthOutOfRange

-- PeterThoeny - 01 Apr 2004

Topic revision: r5 - 2004-04-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.