Ad Widget

Collapse

PATCH: Pre Version 1.4.3 Build 4749 - "reset" button when view a graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    PATCH: Pre Version 1.4.3 Build 4749 - "reset" button when view a graph

    When viewing a graph and the "reset" button is pressed, the graph is reset but if you wait until the graph refreshes again the following error will occur:

    [ERROR: Invalid URL]

    To fix this, modify the frontends/php/history.php file as seen in red below:

    Before: (near the end of the file)
    if(!isset($_REQUEST["plaintext"]))
    {
    if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
    {
    navigation_bar("history.php",$to_save_request);
    }
    }
    ?>
    <?php
    After:
    if(!isset($_REQUEST["plaintext"]))
    {
    if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
    {
    navigation_bar("", array('itemid'));
    }
    }
    ?>
    <?php
    Last edited by Palmertree; 17-09-2007, 05:29.
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #2
    This patch fixes "graph" but breaks "values of specified period". Looking into the problem....

    Comment

    • Palmertree
      Senior Member
      • Sep 2005
      • 746

      #3
      I am having a hard time trying to find a solution to this problem. Anyone know how to tackle this? Or is anyone else seeing this behaviour too?

      Comment

      • Palmertree
        Senior Member
        • Sep 2005
        • 746

        #4
        Can we add this to the bug list? Thanks in advance.

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          I believe the problem is already fixed in the latest code.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • Palmertree
            Senior Member
            • Sep 2005
            • 746

            #6
            It is in the latest Pre 1.4.3 and it working great. Thanks for following up. :-)

            Comment

            Working...