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

Report page got php error trunk #3107

Closed
anonymous-matomo-user opened this issue Apr 13, 2012 · 6 comments
Closed

Report page got php error trunk #3107

anonymous-matomo-user opened this issue Apr 13, 2012 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

My revision is 6206. I update new code from SVN server and can not access Visitor overview page.

The error detail is:

Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information)

Backtrace:
#0 /home/chuongdu/public_html/tracking/core/ViewDataTable.php(1206): Piwik_Date::factory('last7')
#1 /home/chuongdu/public_html/tracking/core/ViewDataTable/GenerateGraphHTML.php(133): Piwik_ViewDataTable->hasReportBeenPurged()
#2 /home/chuongdu/public_html/tracking/core/ViewDataTable/GenerateGraphHTML.php(97): Piwik_ViewDataTable_GenerateGraphHTML->buildView()
#3 /home/chuongdu/public_html/tracking/core/Controller.php(241): Piwik_ViewDataTable_GenerateGraphHTML->main()
#4 /home/chuongdu/public_html/tracking/plugins/VisitsSummary/Controller.php(78): Piwik_Controller->getLastUnitGraphAcrossPlugins('VisitsSummary', 'getEvolutionGra...', Array, Array, 'This is an over...')
#5 /home/chuongdu/public_html/tracking/plugins/VisitsSummary/Controller.php(23): Piwik_VisitsSummary_Controller->getEvolutionGraph(true, Array)
#6 function: Piwik_VisitsSummary_Controller->index()
#7 /home/chuongdu/public_html/tracking/core/FrontController.php(138): call_user_func_array(Array, Array)
#8 /home/chuongdu/public_html/tracking/index.php(53): Piwik_FrontController->dispatch()
#9 {main}

@mattab
Copy link
Member

mattab commented Apr 15, 2012

fixed in SVN AFAIK

@anonymous-matomo-user
Copy link
Author

@diosmosis
Copy link
Member

(In [6217]) Refs #5473, #3107, fix issue of failure in purged report message logic when special date range (lastN, etc.) is used.

@anonymous-matomo-user
Copy link
Author

Thank You, it is working well.

@sgiehl
Copy link
Member

sgiehl commented Aug 3, 2012

(In [refs #3227, #3107, #3201 changed phpunit test according to changes in 6659)

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. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

4 participants