[mythtv-users] Mythweb error

Michael T. Dean mtdean at thirdcontact.com
Wed Nov 11 22:55:23 UTC 2009


On 11/11/2009 05:51 PM, Bobby Gill wrote:
> On Wed, Nov 11, 2009 at 5:44 PM, Michael T. Dean wrote:
>   
>> On 11/11/2009 02:39 PM, 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.
>>>
>>>       
>> Are you (or your distro scripts or ...) setting the TZ variable to some
>> (broken) value ("EST/-5.0/no DST") when starting mythbackend or apache?
> Hmm, the only timezone line I can ever recall changing on the box is from my
> /etc/rc.conf:
>
> LOCALE="en_US.utf8"
> HARDWARECLOCK="localtime"
> TIMEZONE="Canada/Eastern"

Not a time zone line, but a TZ environment variable.

Mike


More information about the mythtv-users mailing list