• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

If you run ...../bin/statistics or ...../bin/statistics?logdate=200601 from the browser, only the Main web gets updated. Specifying ...../bin/statistics/Webname works as expected. This is a bug, the doc TWikiSiteTools#Generating_statistics_manually_b states that all webs are updated if no web is specified (as was the case in Cairo)

-- PTh

Actually, it generates statistics for the current web, and since the default current web is Main, that's what you see.

The reason I changed it to work that way is that statistics generation returns data about what webs and topics are processed and their frequency, even when read access to the web in question is denied (the analysis runs off the log file). This is a security hole. Further, the running user has to have write access to the WebStatistics topics of the webs in question, so making it process all webs is highly likely to trigger an access control exception. By restricting it to run on named webs only, the hole isn't plugged, but at least it doesn't gape open quite so much.

See Item1053

The documentation needs to be corrected.

CC

Peter is right, because http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-05-26,Fri&sel=1959#l1955

So re-opening this.

CC

And for the record, here is the content:

On sites that cannot run a cron as the cgi-user, they need to call statistics as a cgi (via cron). In cairo you could call ..../bin/statistics and it updated all webs. In dakar you have to specify each and every web. That is, every time you create a new web you have to remember to also tweak the cron.

-- PTh

ItemTemplate
Summary Statistics without params updates only Main web
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.0.2
SVN Range Wed, 24 May 2006 build 10305
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 10343 10344 10398 10405
TargetRelease patch
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-05-31 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback