Thanks, that got rid of that output. I found that my graphs were still
failing to be created, I commented out some lines:
unix11>diff get_context.php get_context.orig2
< #if (isset($_GET["gs"]) and $_GET["gs"])
< # $gridstack = explode(":", clean_string(
rawurldecode($_GET["gs"] ) ) );
< #else
< # $gridstack = explode(":", clean_string( $_COOKIE["gs"] ) );
---
> if (isset($_GET["gs"]) and $_GET["gs"])
> $gridstack = explode(":", clean_string( rawurldecode($_GET["gs"]
) ) );
> else
> $gridstack = explode(":", clean_string( $_COOKIE["gs"] ) );
52,53c52,53
< #if (!count($_GET) or !strstr($gridstack[0], "http://"))
< # $initgrid=TRUE;
---
> if (!count($_GET) or !strstr($gridstack[0], "http://"))
> $initgrid=TRUE;
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Edwards
Sent: Tuesday, March 04, 2008 7:53 PM
To: [email protected]
Subject: Re: [Ganglia-general] php5 issues
Hi Chris
> Has anyone seen problems running the latest ganglia with PHP5? I have
> just done a fresh install and I'm getting a bunch of php errors:
>
> Notice: Undefined index: gs in
/app/www/html/ganglia-old/get_context.php
> on line 47
>
> Notice: Undefined index: gs in /app/www/html/ganglia-old/header.php on
> line 56
>
> Warning: Cannot modify header information - headers already sent by
> (output started at /app/www/html/ganglia/get_context.php:47) in
> /app/www/html/ganglia-old/header.php on line 58
I hit this last week, when I edited /etc/php.ini to change the value
of the display_errors parameter from Off to On to help debug some PHP
changes I've been making.
I believe the errors are happening all the time, but by default you
just don't get to see the messages. I haven't had time yet to fix them.
I'm using version 3.0.6.
Regards - Peter
--
Peter Edwards ([EMAIL PROTECTED]) Ph: +61 (0)3 9669-8125
Systems Analyst Fax: +61 (0)3 9669-8124
High Performance Computing Systems Division Mob: +61 (0)408 327 399
NEC Australia Pty. Ltd.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general