[mythtv-users] Mythweb error

Bobby Gill brownitus at gmail.com
Wed Nov 11 22:51:48 UTC 2009


On Wed, Nov 11, 2009 at 5:44 PM, Michael T. Dean <mtdean at thirdcontact.com>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?
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


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"

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091111/1319d966/attachment.htm>


More information about the mythtv-users mailing list