We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

With the beta statistics script installed, I get the below error messages in my log as it runns:

perl 5.8:

[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1879.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1879.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1918.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1918.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 292, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 295, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 295, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 295, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 295, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in delete at /usr/local/www/twiki/bin/statistics line 296, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in string ne at /usr/local/www/twiki/bin/statistics line 299, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 301, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 301, <GEN0> line 1921.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1922.
[Mon Aug 12 13:35:00 2002] statistics: Use of uninitialized value in hash element at /usr/local/www/twiki/bin/statistics line 277, <GEN0> line 1922.

perl 5.005_03:

[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1879.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1879.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1918.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1918.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 292, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 295, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 295, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 295, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 295, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 296, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 299, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 301, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 301, <GEN0> chunk 1921.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1922.
[Mon Aug 12 13:41:18 2002] statistics: Use of uninitialized value at /usr/local/www/twiki/bin/statistics line 277, <GEN0> chunk 1922.

  • TWiki version: 03 Aug 2002
  • Web server: Apache/1.3.26 (Unix) mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6a
  • Server OS: FreeBSD 4.6-STABLE
  • Web browser: IE 6.0
  • Client OS: XP/Home
  • Testenv

-- DrewCard - 12 Aug 2002

Answer

This sounds like a bug, follow up in Codev.BetaStatisticsErrorMessages.

-- PeterThoeny - 13 Aug 2002

Now fixed in CVS, try the latest version at CVS:bin/statistics. Tested on the dud logfile lines provided in Codev.BetaStatisticsErrorMessages. Note that the real problem here is that the webname is invalid, causing the regex to fail - however, invalid topics, users and webnames should now all be caught by the statistics script.

(Someone is editing the Codev topic, feel free to move this comment over there - just didn't want to forget to comment...)

-- RichardDonkin - 15 Aug 2002

Topic revision: r3 - 15 Aug 2002 - 20:06:06 - RichardDonkin
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback