Hi Bernard,

That appears to have worked only for the first page.
The subsequent pages (once I click on a cluster in the
grid on machine02) do not reflect the original grid on
machine01. The navigation shows the grid on machine02
as the starting point instead.

The code in get_context appears like this after the
patch:


    escapeshellcmd($_GET["z"]) : NULL;
# A stack of grid parents. Prefer a GET variable,
default to cookie.
if (isset($_GET["gs"]) and $_GET["gs"])
      $gridstack = explode(">", clean_string(
rawurldecode($_GET["gs"] ) ) );
else if ( isset($_COOKIE['gs']) and $_COOKIE['gs'])
      $gridstack = explode(">", clean_string(
$_COOKIE["gs"] ) );
else
      $gridstack = explode(">", clean_string(
$_COOKIE["gs"] ) );

# Assume we are the first grid visited in the tree if
there are no CGI variables,
# or gridstack is not well formed. Gridstack always
has at least one element.


Do you have any other ideas?

Thanks for your help!

--- Bernard Li <[EMAIL PROTECTED]> wrote:

> Hi John:
> 
> On Tue, Apr 8, 2008 at 12:19 PM, John Swift
> <[EMAIL PROTECTED]> wrote:
> 
> >  In addition, it shows this in the httpd error
> log:
> >  PHP Notice:  Undefined index:  gs in
> >  /var/www/html/ganglia/header.php on line 56
> 
> That's just a warning and can be ignored.
> 
> >  Can anyone help? I am using 3.0.7 of the web
> frontend
> >  and backend.
> 
> Try this patch:
> 
>
http://ganglia.svn.sourceforge.net/viewvc/ganglia/trunk/monitor-core/web/get_context.php?r1=1217&r2=1216&pathrev=1217&diff_format=u
> 
> Cheers,
> 
> Bernard
> 



      
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to