Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in statistics graph, avg_time = 2 #7247

Closed
bglxx opened this issue Feb 19, 2015 · 13 comments
Closed

error in statistics graph, avg_time = 2 #7247

bglxx opened this issue Feb 19, 2015 · 13 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@bglxx
Copy link

bglxx commented Feb 19, 2015

since update to 2.11.0 we have the problem, that the large statistics displaying wrong values in the large graphs.

picture err_01.jpg shows values for visits (okay) but wrong values for unique visitors and avg. visit duration - this occurs when i select period length = year
err_01

picture err_02.jpg shows values for visits and for unique visitors (okay) but wrong values at avg. visit duration - this occurs when i select period length = month

err_02

the detailled data at "Visitors/Visitor Log" are okay

picture err_03.jpg shows the wrong graph at the top and the right small graphs in the lower section.

err_03

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 19, 2015
@mattab mattab added this to the Piwik 2.12.0 milestone Feb 19, 2015
@bobwalter
Copy link

I have exactly the same issue that began as soon as v11.0 was installed. See attached screen shots.
piwik-log-p1
piwik-log-p2
piwik-post-v11

@mattab mattab modified the milestones: Piwik 2.11.1, Piwik 2.12.0 Feb 19, 2015
@tsteur
Copy link
Member

tsteur commented Feb 20, 2015

Is the config setting enable_processing_unique_visitors_year enabled?

@bobwalter
Copy link

No, it is set to "0"

I had no idea there was such a value. Should I enable it? If so, what does that have to do with reporting daily visit times?

@tsteur
Copy link
Member

tsteur commented Feb 20, 2015

It solves the part about "wrong values for unique visitors" when period is year

@tsteur
Copy link
Member

tsteur commented Feb 20, 2015

FYI: The avg visit duration bug is caused by 8619da2 refs #6923

@tsteur
Copy link
Member

tsteur commented Feb 20, 2015

@diosmosis do you mind having a look re avg visit duration? Eg instead of 2min 39s it would display a 2 and it says Avg. Duration of a Returning Visit (in sec) although it is not in seconds.

@bobwalter
Copy link

What is particularly unusual is that the report changed the visit durations going back as well. See my image of the report. Is there a fix in progress?

@bobwalter
Copy link

Also, this is new to v11.0. The same day, prior to upgrade, visit duration was correct.

@mattab
Copy link
Member

mattab commented Feb 20, 2015

  • maybe we could add (or edit) a UI test to include the avg_time to prevent regression in future

diosmosis pushed a commit that referenced this issue Feb 21, 2015
…atter and use in Graph visualization since jqplot requires numeric values in JSON data.
@tsteur
Copy link
Member

tsteur commented Feb 22, 2015

@bobwalter there are 2 issues.

  • Visit Duration which is a bug indeed
  • Unique Visitors for year which is most likely just not enabled (this was reported by the issue creator)

@bobwalter
Copy link

I am NOT asking about visitors per year. That is an old issue and not very important to me. I made the config change and I am happy about that.

The ONLY issue I am raising is the bug that misreports visit duration. This bug appeared with V 11.0.

Thank you.

@tsteur
Copy link
Member

tsteur commented Feb 22, 2015

@bobwalter I just mentioned in the comment above that the Visit Duration is a bug. I know that you are only raising this issue that's why I mentioned that the year bug was mentioned by the issue creator, not you. We are working on a fix.

@bobwalter
Copy link

Thanks, I didn't understand.

mattab pushed a commit that referenced this issue Feb 23, 2015
Fixes #7247, move default Formatter class to new Numeric metrics formatt.er and use in Graph visualization.
diosmosis pushed a commit that referenced this issue Feb 23, 2015
…n Numeric formatter (for safety against locale issue).
@mattab mattab changed the title error in statistics graph, avg_time = 2, uniqe_visitors = 0 error in statistics graph, avg_time = 2 Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

4 participants