View unanswered posts | View active topics It is currently Thu Mar 28, 2024 10:49 pm



Reply to topic  [ 1 post ] 
bad font path as a emoncms module 
Author Message
New pChart user
New pChart user

Joined: Wed Sep 04, 2013 11:35 pm
Posts: 1
Post 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/


Wed Sep 04, 2013 11:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron