Actually, I think a fix for the split() issue is already in trunk. On Thu, Sep 16, 2010 at 14:59, Alex Dean <[email protected]> wrote: > We should get a bugzilla written for the deprecation warning. I'm > sure there's an easy way to get the same behavior from non-deprecated > code. > > On Sep 16, 2010, at 1:53 PM, Urs Beyerle wrote: > >> Hi, >> >> The timezone warning should disappear, if you set the correct >> timezone in your php.ini file. In case of Linux edit /etc/php5/ >> apache2/php.ini, uncomment the line and set your timezone, for example >> date.timezone = America/New_York >> Restart your webserver. >> >> The other messages can be ignored. I use php 5.3.3 with ganglia >> 3.1.7 without any problems. >> >> Cheers, >> >> Urs >> >> >> >> >> On 09/16/2010 08:31 PM, cliff palmer wrote: >>> >>> I'm running Ganglia 3.0.7 on a group of linux hosts and recently >>> updated PHP to 5.3.3. Now the web frontend is complaining about: >>> >>> Warning: gettimeofday() [function.gettimeofday]: It is not safe to >>> rely on the system's timezone settings. You are *required* to use >>> the date.timezone setting or the date_default_timezone_set() >>> function. In case you used any of those methods and you are still >>> getting this warning, you most likely misspelled the timezone >>> identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' >>> instead in /var/www/html/ganglia/ganglia.php on line 306 >>> >>> and >>> >>> Deprecated: Function split() is deprecated in /var/www/html/ganglia/ >>> auth.php on line 19 >>> >>> and >>> >>> Warning: date() [function.date]: It is not safe to rely on the >>> system's timezone settings. You are *required* to use the >>> date.timezone setting or the date_default_timezone_set() function. >>> In case you used any of those methods and you are still getting >>> this warning, you most likely misspelled the timezone identifier. >>> We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/ >>> www/html/ganglia/cluster_view.php on line 32 >>> >>> and >>> >>> Notice: Undefined index: cpu_num in /var/www/html/ganglia/ >>> cluster_view.php on line 85 >>> >>> Would I be better off replacing PHP 5.3.3 with something older or >>> using a newer version of Ganglia or ?????? >>> >>> Thanks! >>> Cliff >>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> >>> >>> _______________________________________________ >>> Ganglia-general mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ >> Ganglia-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/ganglia-general > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general >
-- Jesse Becker ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

