Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Observium 0.14.8.5799 (stable)
Description
Hi
I have recently added billing functionality by enabling the following:
config.php
$config['enable_billing'] = 1;
cron.d/observium
*/5 * * * * observium /opt/observium/poll-billing.php >> /dev/null 2>&1
01 * * * * observium /opt/observium/billing-calculate.php >> /dev/null 2>&1
I have created couple bills however not all Jpgraps are displayed (see attached photo examples)
I have seen the exact issue i ve got in OBSERVIUM-358 issue
when using debug=1 i ve got following output:
> $vars/opt/observium/includes/common.inc.php:156SELECT * FROM `entity_permissions` WHERE `user_id` = '17'
string(57)
/opt/observium/includes/common.inc.php:156SELECT `value` FROM `users_prefs` WHERE `user_id` = '17' AND `pref` = 'atom_key'
string(80)
/opt/observium/includes/common.inc.php:156SELECT * from `bills` WHERE `bill_id`= '2' LIMIT 1
string(50)
/opt/observium/includes/common.inc.php:156SELECT count(`delta`) FROM `bill_data` WHERE `bill_id` = '2' AND `timestamp` >= FROM_UNIXTIME( '1409526000' ) AND `timestamp` <= FROM_UNIXTIME( '1412117999?debug=1' )
string(166)
/opt/observium/includes/common.inc.php:156SELECT *, UNIX_TIMESTAMP(timestamp) AS formatted_date FROM bill_data WHERE bill_id = '2' AND `timestamp` >= FROM_UNIXTIME( '1409526000' ) AND `timestamp` <= FROM_UNIXTIME( '1412117999?debug=1' ) ORDER BY timestamp ASC
string(217)
JpGraph Error: 25082 Illegal sizes specified for width or height when creating an image, (width=0, height=0)
This affects Accurate, Transfer and Historical graphs
only Quickgraphs are being displayed correctly.
See attached photos.
Kind regards
Attachments
Issue Links
- mentions
-
OBS-358 Broken img link in the accurate graphs, transfer graphs, hystorical graphs pages
- Closed