I get the below when ever I issue a greyhole command?
[root@cossaboon kcossabo]# greyhole --view-queue
PHP Warning: date_default_timezone_get(): 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 'EST/-5.0/no DST' instead in /usr/bin/greyhole on line 32
Is there a fix?
PHP Warning: date_default_timezone_get():
Re: PHP Warning: date_default_timezone_get():
This error is pretty harmless, basically Greyhole doesn't set an explicit timezone (nor would it be wise to do so since people from all different timezones use / may use it). So you can either set this explicitly in the Greyhole file (not recommended) or set it in your php.ini file for the system (probably the better option). The below link discusses briefly how to add a timezone to your php config:
http://online-source.net/2011/02/05/war ... e-date_de/
http://online-source.net/2011/02/05/war ... e-date_de/
Re: PHP Warning: date_default_timezone_get():
Some more info: http://forums.amahi.org/viewtopic.php?f=16&t=2534
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 23 guests