[mythtv-users] Mythweb error

Drew Gilbert gilbert.drew at gmail.com
Wed Nov 11 22:51:54 UTC 2009



Bobby Gill wrote:
> Getting a bunch of these when going to various recordings/scheduling 
> pages on Mythweb:
> 
> *Error* at 
> /home/bobby2/public_html/mythweb/modules/tv/tmpl/default/detail.php, 
> line 117:
> strftime() [function.strftime 
> <http://bobgill.bounceme.net:1758/mythweb/tv/detail/1042/function.strftime>]: 
> 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
> 
> *Error* at 
> /home/bobby2/public_html/mythweb/modules/tv/tmpl/default/detail.php, 
> line 119:
> 
> strftime() [function.strftime 
> <http://bobgill.bounceme.net:1758/mythweb/tv/detail/1042/function.strftime>]: 
> 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
> 
> ** *Error* at 
> /home/bobby2/public_html/mythweb/modules/tv/tmpl/default/recorded.php, 
> line 281:
> strftime() [function.strftime 
> <http://bobgill.bounceme.net:1758/mythweb/tv/function.strftime>]: 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
> 
> 
> 
> Checking in with los expertos before I go and edit the various .php 
> pages and surely fudge things up further hehe.
> 
> Thanks
> Bob

I seem to remember getting something similar after upgrading PHP, I had 
to explicitly set the date.timezone value  in my /etc/php/php.ini file :

<snip>
[Date]
date.timezone = Europe/London
</snip>

HTH


More information about the mythtv-users mailing list