Loading...
 
Skip to main content

Tiki statistics problems/first view/timezone

Status
Open
Subject
Tiki statistics problems/first view/timezone
Version
18.x
Category
  • Support request
Feature
Admin Interface (UI)
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

I have problems with Tikis statistics function. I entered it in order to translate it, and most of it works well (except for some icons that are missing, I prefer classic style, and there are missing icons. But that's not a problem, icons fall back to some (newer) style).

But the very first statistic, first page request, shells out an error I cannot explain:

DateTime::__construct(): Failed to parse time string (Bislang keine Seitenaufrufe) at position 0 (B): The timezone could not be found in the database

"Bislang keine Seitenaufrufe" is the translation of "no page views", but this cannot be correct. This Tiki exists for several years now. Actually EVERY Tiki where you call the statistics page must have at least from this very session a "first" page view... So there can be no Tiki without a first view...

Possibly the second part of the error message clears it up: A timezone problem. But the timezone is correctly set, it's set to "Europe/Berlin". Although it's not stated there, I guess this sets UTC+0100, because we are one hour ahead (east) of Greenwich. At the moment actually two hours, because it is DST.

So why is this PHP error thrown? And how can it be rectified?

Importance
3
Easy to solve?
10 easy
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7458
Created
Sunday 02 August, 2020 17:53:17 UTC
by hman
LastModif
Sunday 02 August, 2020 17:53:17 UTC


Show PHP error messages