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

piwik 1.7 - date format error on "all websites" #2942

Closed
ryrun opened this issue Feb 17, 2012 · 1 comment
Closed

piwik 1.7 - date format error on "all websites" #2942

ryrun opened this issue Feb 17, 2012 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@ryrun
Copy link

ryrun commented Feb 17, 2012

When i click "all websites", i got following error:

Url: index.php?module=MultiSites&action=index&idSite=1&period=day&date=yesterday

"Das Datumsformat muss YYYY-MM-DD, or 'today' or 'yesterday' oder eine andere, von der Funktion strtotime untersttzte Zeichenkette sein. (Besuchen Sie http://php.net/strtotime fr nhere Informationen)"

#0 /var/www/vhosts/*/httpdocs/st/core/Archive.php(228): Piwik_Date::factory('Object id #175')
#1 /var/www/vhosts/*/httpdocs/st/core/Archive/Array/IndexedBySite.php(36): Piwik_Archive::build('1', 'day', 'Object id #175', Object(Piwik_Segment))
#2 /var/www/vhosts/*/httpdocs/st/core/Archive.php(199): Piwik_Archive_Array_IndexedBySite->__construct(Array, 'day', 'Object id #175', Object(Piwik_Segment))
#3 /var/www/vhosts/*/httpdocs/st/plugins/MultiSites/API.php(136): Piwik_Archive::build('all', 'day', 'Object id #175', false)
#4 /var/www/vhosts/*/httpdocs/st/plugins/MultiSites/Controller.php(58): Piwik_MultiSites_API->getAll('day', '2012-02-15', false)
#5 /var/www/vhosts/*/httpdocs/st/plugins/MultiSites/Controller.php(36): Piwik_MultiSites_Controller->getSitesInfo()
#6 [internal function]: Piwik_MultiSites_Controller->index()
#7 /var/www/vhosts/*/httpdocs/st/core/FrontController.php(138): call_user_func_array(Array, Array)
#8 /var/www/vhosts/*/httpdocs/st/index.php(53): Piwik_FrontController->dispatch()
#9 {main}

forum thread about this problem: http://forum.piwik.org/read.php?5,85638
Keywords: strtotime piwik1.7

@mattab
Copy link
Member

mattab commented Feb 19, 2012

There is a fix, See #2953

This issue was closed.
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. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants