Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1002

Broken img link in the accurate graphs, transfer graphs, hystorical graphs pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Billing, Web Interface
    • 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

        1. Accurate.png
          Accurate.png
          75 kB
        2. Historical.png
          Historical.png
          39 kB
        3. Transfer.png
          Transfer.png
          76 kB

        Issue Links

          Activity

            People

              adama Adam Armstrong
              vostron-tom Tom
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: