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

Closed
anonymous-piwik-user opened this Issue Dec 21, 2013 · 2 comments

2 participants

@anonymous-piwik-user

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-piwik-user

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

@mattab
Piwik Open Source Analytics member

In 5756cef: Renaming file Fixes #4420

@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Renaming file Fixes #4420 5756cef
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment