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

Module ImageGraph.get API 'graphType=3dPie' error. #4420

Closed
anonymous-matomo-user opened this issue Dec 21, 2013 · 2 comments
Closed

Module ImageGraph.get API 'graphType=3dPie' error. #4420

anonymous-matomo-user opened this issue Dec 21, 2013 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

The ImageGraph.get API call return "ERROR 500: Internal Server Error." with 'graphType=3dPie'.

Fatal error: Class 'Piwik\Plugins\ImageGraph\StaticGraph\Pie3D' not found in /home/piwik-demo/www/demo.piwik.org/plugins/ImageGraph/StaticGraph.php on line 95
A fatal error occurred
Please contact the system administrator.

http://demo.piwik.org/index.php?module=API&method=ImageGraph.get&idSite=7&apiModule=UserSettings&apiAction=getOS&period=day&date=yesterday&column=nb_visits&backgroundColor=EEEEEE&showLegend=1&filter_truncate=7&graphType=3dPie&width=500&height=250&aliasedGraph=1&colors=00CCCC,00C000,CC0000,0000CC,CCCC00,C0C0C0,C3590D,CC00CC

@anonymous-matomo-user
Copy link
Author

Solution: rename 3DPie.php to Pie3D.php in Piwik/Plugins/ImageGraph/StaticGraph for consistency with previous versions.

@mattab
Copy link
Member

mattab commented Dec 26, 2013

In 5756cef: Renaming file Fixes #4420

@anonymous-matomo-user anonymous-matomo-user added this to the 2.0.3 - Piwik 2.0.3 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
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.
Projects
None yet
Development

No branches or pull requests

2 participants