First let me start by saying that phpbt, is awesome! I am just installing it to roll it out to my group this week. I wanted to use JpGraph, so I installed it (with temp directory and all), GD 1.8.4, and configured the Admin tools to reflect appropriate path. But when I hit the index.php of phpbt I get the following error message (that appears to be a png file)
JpGraph Error:
PiePlot::SetPrecision() is deprecated use SetLabel() instead
Any ideas?
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can try changing line 87 of index.php to SetLabel() instead of SetPrecision(), but I haven't played with jpgraph 1.6 yet so I don't know exactly what the difference is there. You could also drop down to jpgraph 1.5.2 which is the latest version with which I've tested.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Johan Persson (from the JPGRAPH project) connected me with a 1.53 tarball, works just fine. It seems as though there is some code in version 1.6 that doesn't work well with phpbt.
Thanks for all your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The jpgimages directory must be writeable by the web process so the image can be created. Also, jpgraph is now at version 1.6.1 because of a bug with the pie chart image map rendering (which is used by phpBugTracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First let me start by saying that phpbt, is awesome! I am just installing it to roll it out to my group this week. I wanted to use JpGraph, so I installed it (with temp directory and all), GD 1.8.4, and configured the Admin tools to reflect appropriate path. But when I hit the index.php of phpbt I get the following error message (that appears to be a png file)
JpGraph Error:
PiePlot::SetPrecision() is deprecated use SetLabel() instead
Any ideas?
Greg
You can try changing line 87 of index.php to SetLabel() instead of SetPrecision(), but I haven't played with jpgraph 1.6 yet so I don't know exactly what the difference is there. You could also drop down to jpgraph 1.5.2 which is the latest version with which I've tested.
You can also edit jpgraph.php from the jpgraph distribution, changing the define on line 91 (ERR_DEPRECATED) from true to false.
Neither option appears to work...do you have the tarball from 1.52? I can't seem to find it on their site.
Johan Persson (from the JPGRAPH project) connected me with a 1.53 tarball, works just fine. It seems as though there is some code in version 1.6 that doesn't work well with phpbt.
Thanks for all your help!
No problem! :) I'll try to find out what's broken and get a new version out.
I'm getting a blank screen when I enable jpgraph. Has anyone seen this also.
Kevin
The jpgimages directory must be writeable by the web process so the image can be created. Also, jpgraph is now at version 1.6.1 because of a bug with the pie chart image map rendering (which is used by phpBugTracker).