Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-16 Thread Daniel Pocock
Jesse Becker wrote: On Thu, Sep 10, 2009 at 13:28, Daniel Pocock dan...@pocock.com.au wrote: The reason I didn't put $rrd_options in conf.php is because it's value is meant to be derived from other variables, in other words, the administrator should not change $rrd_options itself.

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-16 Thread Jesse Becker
On Wed, Sep 16, 2009 at 08:41:29AM -0400, Daniel Pocock wrote: I'm a little surprised that we have to check the existence of the variable every time it is used - I looked at index.php and graph.php, and both of them appear to read eval_config.php before reading functions.php I agree. There

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-15 Thread Jesse Becker
On Thu, Sep 10, 2009 at 13:28, Daniel Pocock dan...@pocock.com.au wrote: The reason I didn't put $rrd_options in conf.php is because it's value is meant to be derived from other variables, in other words, the administrator should not change $rrd_options itself. However, if get_context.php is

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-10 Thread Daniel Pocock
Daniel Pocock wrote: Jesse Becker wrote: I think that $rrd_options might be defined in the wrong spot? I'm getting lots of Undefined variable: rrd_options in functions.php error messages in trunk. It is used in functions.php in two places, as of r2049. Digging a bit, I see that

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-10 Thread Kostas Georgiou
On Thu, Sep 10, 2009 at 04:32:01PM +0100, Daniel Pocock wrote: Daniel Pocock wrote: Jesse Becker wrote: I think that $rrd_options might be defined in the wrong spot? I'm getting lots of Undefined variable: rrd_options in functions.php error messages in trunk. It is used in

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-03 Thread Daniel Pocock
Jesse Becker wrote: I think that $rrd_options might be defined in the wrong spot? I'm getting lots of Undefined variable: rrd_options in functions.php error messages in trunk. It is used in functions.php in two places, as of r2049. Digging a bit, I see that $rrd_options is defined at the