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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not A Bug
    • Critical
    • None
    • None
    • Billing, Web Interface
    •  12.04.2 LTS on a VMWare based VPS

    Description

      I have two systems running observium one in our own production and the the other one is a clean install which I freshly installed for one of our clients.

      after a update we noticed that the images are not working properly. When I viewed this page the first there was a notice about JPGraph to be installed. So I installed JPGraph like instructed and deleted the theme lines in jpg-config.php, still the same result.

      we noticed that the images on our production system on the pages below:

      See images attached.

      When I add the &debug=1 parameter to the url I saw a jpgrapgh message, JpGraph Error: 25082 Illegal sizes specified for width or height when creating an image, (width=0, height=0)

      Looking is my logs I found:
      PHP Warning: Division by zero in /opt/observium/html/pages/bill/infoboxes.inc.php on line 27, referer: http://xxx.yyy.zzz.xxx/bill/bill_id=1/view=accurate/tab=monthly/&debug=1

      looking into the code of that file it doesn't make really sense what I am looking for, since lines 27 tells me something about calculating the % used ....

      Attachments

        1. accurateview.png
          accurateview.png
          191 kB
        2. history.png
          history.png
          178 kB
        3. transfer.png
          transfer.png
          126 kB

        Issue Links

          Activity

            People

              codekiller Dennis de Houx
              bartus Bart Teunis
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: