pChart 2.x forum
http://wiki.pchart.net/forum/

bad font path as a emoncms module
http://wiki.pchart.net/forum/viewtopic.php?f=1&t=39860
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
Code:
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.

http://emoncms.org/

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/