Tags:
create new tag
, view all tags
When I tried "force an update" on the WebStatistics topic here's what I got:
TWiki: Create Usage Statistics

Do not interupt! ( Wait until page download has finished )
 * Executed by a guest or a cron job scheduler
 * Statistics for Jan 2001
	*** Error: Log file /data/site/twiki/data/log200101.txt does not exist

Use of uninitialized value in concatenation (.) at wiki.pm line 549. 
Use of uninitialized value in concatenation (.) at wiki.pm line 549.
 * Go back to WebStatistics topic

End creating usage statistics

The bug happens in the time window AFTER the first of the month, BEFORE the first logged activity. I conclude that the statistics generator is assuming at least ONE thing has happened "this month" prior to its execution.

I reach the above conclusion after repeating the error condition, then editing a topic and saving, then forcing an update again. The update worked as soon as there was a data item for January, 2001.

-- PaulReiber (reported to PeterThoeny)

This seems to be a bug that needs to be fixed. It happens at the beginning of a month when the log file does not exist yet, e.g. before any log as been written. The line number of the error seems to be in sub getViewUrl :

	 return "$urlHost$scriptUrlPath/view$scriptSuffix/$web/$theTopic";

-- PeterThoeny - 04 Jan 2001

Fixed and in TWikiAlphaRelease.

-- PeterThoeny - 11 Aug 2001

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-08-11 - PeterThoeny
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.