pChart 2.x forum

bad font path as a emoncms module
Page 1 of 1

Author:  justind000 [ Wed Sep 04, 2013 11:41 pm ]
Post subject:  bad font path as a emoncms module

I'm working with emoncms and trying to replace the flot charts with pChart. The charts are used in a module-like way. I've created my own module as a php file, but when I try to use it, I get
Warning: imagettfbbox(): Invalid font filename in C:\wamp\www\Modules\vis\visualisations\class\pImage.class.php on line 211

If I type in the php file address in my browser, the chart displays perfectly, but within emoncms, it doesn't. I've tried moving the fonts to both the folder the php file is in, and the class php files.

I suspect it has something to do with an address rewrite or something similar and the fix is probably easy, but I can't figure it out.


Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group