Broken jpgraph Images
I have never used the "billing" side of Observium even though I have been using several (subscription) instances of Observium for a while now.
Today I wanted to play with the Billing features and followed the jpgraph install prompt, however the graphs appear as broken images. With the debug=1 flag I see the following:
$varsSELECT * FROM `devices_perms` WHERE `user_id` = '1'
string(51) SELECT * FROM `ports_perms` WHERE `user_id` = '1' string(49) SELECT * FROM `bill_perms` WHERE `user_id` = '1' string(48) SELECT * from `bills` WHERE `bill_id`= '2' LIMIT 1 string(50) SELECT count(`delta`) FROM `bill_data` WHERE `bill_id` = '2' AND `timestamp` >= FROM_UNIXTIME( '1393653600' ) AND `timestamp` <= FROM_UNIXTIME( '1396328399' ) string(158) SELECT *, UNIX_TIMESTAMP(timestamp) AS formatted_date FROM bill_data WHERE bill_id = '2' AND `timestamp` >= FROM_UNIXTIME( '1393653600' ) AND `timestamp` <= FROM_UNIXTIME( '1396328399' ) ORDER BY timestamp ASC string(209) JpGraph Error: 25082 Illegal sizes specified for width or height when creating an image, (width=0, height=0)
Thanks!
John
http://www.observium.org/wiki/Billing
Enabled in config.php ?
Cron job enabled ?
On 19/03/14 9:31 PM, "John Macleod" jcdmacleod@me.com wrote:
I have never used the "billing" side of Observium even though I have been using several (subscription) instances of Observium for a while now.
Today I wanted to play with the Billing features and followed the jpgraph install prompt, however the graphs appear as broken images. With the debug=1 flag I see the following:
$varsSELECT * FROM `devices_perms` WHERE `user_id` = '1'
string(51) SELECT * FROM `ports_perms` WHERE `user_id` = '1' string(49) SELECT * FROM `bill_perms` WHERE `user_id` = '1' string(48) SELECT * from `bills` WHERE `bill_id`= '2' LIMIT 1 string(50) SELECT count(`delta`) FROM `bill_data` WHERE `bill_id` = '2' AND `timestamp` >= FROM_UNIXTIME( '1393653600' ) AND `timestamp` <= FROM_UNIXTIME( '1396328399' ) string(158) SELECT *, UNIX_TIMESTAMP(timestamp) AS formatted_date FROM bill_data WHERE bill_id = '2' AND `timestamp` >= FROM_UNIXTIME( '1393653600' ) AND `timestamp` <= FROM_UNIXTIME( '1396328399' ) ORDER BY timestamp ASC string(209) JpGraph Error: 25082 Illegal sizes specified for width or height when creating an image, (width=0, height=0)
Thanks!
John _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
John Macleod
-
Peter Childs