Login or Register

RSS IconRecent posts in this topic

avatar
Valdemar on Jan 14. 2008. 1:46 am
Do you know if the msttcorefonts has been installed? If you're using a shared server and don't have access to more info about the system, simply comment out the font references in the source.

Go to modules/charts/controllers/ChartsController.class.php, and search for ->SetFont. Now comment them out by putting a // in front of the line in the code. I think there a four references to it.

Then charts should be working for you.
Casper Valdemar
avatar
brwalker on Jan 14. 2008. 6:07 am
Hi Casper. How do you uninstall your module?I tried from admin section but uninstall.php not present. Thanks, bernard
avatar
Valdemar on Jan 14. 2008. 6:14 am
Yes, there is no install or uninstall.php - you need to do it manually in the SQL database,

DELETE FROM modules WHERE name = "charts";

Kinda the opposite of how you installed it.
Casper Valdemar
avatar
gcortesi on Jan 14. 2008. 10:00 am
Thanks for the help Casper. Commenting out the SetFont lines got me to a new error that the Date String (Object) specified for the Gantt activitiy can not be interpreted. I cannot change any values since I get the error when I select the Chart app. I did get the chart app to open in one project, but no chart was displayed, though I could select the various chart options. It did notice that the activeCollab date entry format does not include anything but the date (no time) but JpGraph seems to be looking for a time.

Guy
avatar
Valdemar on Jan 14. 2008. 10:20 am
I'll look into this some more. I too am learning about JpGraph while doing this, so expect some messing around in the beginning. Source code should be pretty straight forward in case you wanna play with it.
Casper Valdemar
avatar
gcortesi on Jan 14. 2008. 10:22 am
It did notice that the activeCollab date entry format does not include anything but the date (no time) but JpGraph seems to be looking for a time.
avatar
Valdemar on Jan 14. 2008. 10:27 am
Really? I thought I did it specify it right - strange, since mine work flawlessly in all projects I've tried it. Oh well, I'll look into it. But if you find a good working strftime let me know.
Casper Valdemar
avatar
gcortesi on Jan 14. 2008. 6:59 pm
Casper - just wanted to note that the example files do seem to work and display. For example - this is one of many that works fine.

.../activecollab/activecollab/application/modules/charts/helpers/jpgraph/examples/gantticonex1.php

Guy
avatar
Davor on Jan 16. 2008. 5:42 pm
Installed it, cleared cache, nothing.

update: it's there now, but I'm having trouble with the fonts.
www.synergetics.be | www.davor.be
avatar
gcortesi on Jan 17. 2008. 9:07 pm
Davor - Here is what Casper suggested for me (above in this thread) and this got me past the fonts error. Unfortunately, I now have an error that the Date String (Object) specified for the Gantt activitiy can not be interpreted. I'll be interested to see if you are able to do Gantt charts once you fix the font problem.

To fix the fonts error - go to modules/charts/controllers/ChartsController.class.php, and search for ->SetFont. Comment them out by putting a // in front of the line in the code. There are four references to it.

Guy

RSS IconRecent posts in this topic