Maps feature not working well in 1.4.1

  • matrix200

    matrix200 - 2008-12-01

    Hi all,

    It looks like the maps are still having some issues .
    When I try to graph one of the things with maps I get a black image and when I try to click on it I get a server error.
    Here is an excerpt from webserver logs that I am getting :
    [Mon Dec 01 19:47:45 2008] [error] [client *******] PHP Notice:  Undefined index:   in /usr/share/pear/Image/Graph/Plotarea/Map.php on line 191, referer: http://\******/base/base_graph_main.php
    [Mon Dec 01 19:47:45 2008] [error] [client *******] PHP Warning:  Division by zero in /usr/share/pear/Image/Graph/Marker/Circle.php on line 74, referer: http://\
    [Mon Dec 01 19:47:56 2008] [error] [client *******] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/share/pear/Image/Canvas.php on line 449, referer: http://\*******/base/base_graph_main.php

    I know those things seem to appear in other packages , but obviously the referrer is base's code and maybe something is not being passed right to them.
    This is Fedora Core 8 and all latest updates (up to today) have been installed with yum.
    I am using ip2cc for maps feature.

    • Juergen Leising

      Juergen Leising - 2008-12-18

      Hello matrix200,

      this is a known problem, which I have not really a solution for.
      However, there is a patch for a possibly indirectly related bug,
      that fixes the missing legends with pie charts.  Right this
      patch seems to ease the problem, at least for me:

      Cf. also the README.graph_alert_data in the docs subdirectory
      of the BASE source code.

      The PEAR::Image_Graph library is generally somewhat problematic, as there
      are several problems, but its development seems to have slowed down.

      Any suggestions for a replacement library with a free license, i.e.
      allowing for private AND commercial use (therefore jpgraph is
      NOT an option), are welcome.

      Bye, bye


      • matrix200

        matrix200 - 2008-12-18

        Thanks a lot!

        This actually made the maps work.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks