2008/10/26 Michael T. Dean <span dir="ltr">&lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/26/2008 05:45 PM, Nick Morrott wrote:<br>
<div class="Ih2E3d">&gt; On 26/10/2008, Ash Bostock wrote:<br>
&gt;<br>
&gt;&gt; My frontend has no issues at all and I can list all programmes on mythweb,<br>
&gt;&gt; but if I click on any of the titles under the &quot;Recorded Programmes&quot; list I<br>
&gt;&gt; get an error &quot;Warning: Unknown Programme.&quot;.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not the only one either...<br>
&gt;&gt; <a href="http://ubuntuforums.org/showthread.php?p=6037167" target="_blank">http://ubuntuforums.org/showthread.php?p=6037167</a><br>
&gt;&gt;<br>
&gt;&gt; Any one have an idea of what the problem could be?<br>
&gt;&gt;<br>
&gt;<br>
&gt; On my system, any recordings made after BST-GMT changeover are okay,<br>
&gt; any recorded before show the &#39;Unknown Programme&#39; error and bounces me<br>
&gt; to the TV listings page. A majority of these older recordings still<br>
&gt; have thumbnails, although they have disappeared for a handful of<br>
&gt; recordings.<br>
&gt;<br>
&gt; I&#39;m guessing (haven&#39;t looked) that it&#39;s due to the date/time<br>
&gt; processing used in MythWeb - you&#39;ll notice programme information URLs<br>
&gt; include an epoch-seconds-like string.<br>
&gt;<br>
&gt; MythTV still has no concept of UTC offsets (I created a ticket on trac<br>
&gt; earlier to reflect this) and so every six months during DST<br>
&gt; changeovers things can go south.<br>
<br>
</div>Especially if you misconfigure/don&#39;t properly configure your MythWeb host.<br>
<br>
PHP tries to pick up the local time zone rules in use on the system on<br>
which it runs, but it seems that on many distros, it fails to do so<br>
properly. &nbsp;Simply add the time zone to php.ini.<br>
<br>
In other words, /every/ program that uses MythTV data (all backends and<br>
frontends and the MythWeb host(s)) /must/ run with the same time zone<br>
rules specified.<br>
<br>
Though the comment is way too specific and not completely accurate, the<br>
approach used for the fix is right here:<br>
<a href="http://www.mythtv.org/wiki/index.php/MythWeb#Time_Stamp_is_off_by_an_hour" target="_blank">http://www.mythtv.org/wiki/index.php/MythWeb#Time_Stamp_is_off_by_an_hour</a><br>
<br>
BTW, we go through this every 6 months. &nbsp;Just check the Ubuntu archives<br>
from 6 months ago (or a year ago or ...).<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></div></div></blockquote><div><br>Thanks, I&#39;ve added...<br>date.timezone = Europe/London<br>
...to my php.ini file and that&#39;s resolved the issue.<br><br>Ash<br></div></div><br>