• 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.

These occur especially if statistics is executed by a cronjob.

Here's a list of what's poping up if you open up the box:

  1. the variable scripted isn't set by the run() method
    • good point; I replaced it with a context identifier and didn't update the script
  2. Statistics::_printMsg() is called without a $session parameter in a few cases
    • Hmmm......
  3. only the Main web is processed in scripted mode
    • ??
  4. changing the WebStatistics topic fails as the the script runs as TWikiGuest
    • Suggestions? It needs to be run as a power-user... maybe TWikiAdminGroup?
  5. if the _processWeb() catches the access denied event things fail further down the road with a
Insecure dependency in open while running with -T switch at .../lib/TWiki/Store/RcsFile.pm line 727
    • this should go away if we change the user

-- MichaelDaum

SVN 7662

CC

This isn't working yet because the statistics cgi scripts is run as user TWikiAdminGroup if called from the commandline, tries to save new WebStatistics topics but fails because the user "TWikiAdminGroup" is not member of the TWikiAdminGroup. Reopening. Either each group must be member of itself or the statistics cgi script must run as a real TWikiAdminUser which doesn't exist yet.

MD

OK, I made the TWikiAdminGroup user a member of the TWikiAdminGroup.

SVN 8476

Still needs testing to verify....

CC

The statistics work now. Great.

MD

ItemTemplate
Summary Multiple errors in statistics cgi
ReportedBy MichaelDaum
Codebase

SVN Range

AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 7662 8467 8476
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2006-01-24 - MichaelDaum
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback