[mythtv-users] Weird stuff going on with recording schedules / MythWeb(?)

Tom Dexter digitalaudiorock at gmail.com
Sun Apr 13 03:05:08 UTC 2008


On Sat, Apr 12, 2008 at 11:30 AM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 04/10/2008 09:21 AM, Wes Hardaker wrote:
>  >>>>>> "MTD" == Michael T Dean <mtdean at thirdcontact.com> writes:
>  > MTD> /me wishes Wes's mail client knew how to properly attribute a quote...
>  >
>  > Not sure what that's about, since it did quote the right person with the
>  > right initials.
>  >
>
>  It's the ">>>>>" that's wrong.  Many mail clients use a single ">" for
>  each level of quotes, so your client's putting the 5 "shifts" before the
>  attribution line ('"MTD" == Michael T Dean <mtdean at thirdcontact.com>
>  writes:') makes it look like a 5-level deep quote.  (The initials before
>  the ">" are annoying--primarily because most clients don't do the same,
>  so it "breaks the flow," especially for clients that add nice formatting
>  to the messages--but they're manageable.  I'll admit that the initials
>  could be nice if all clients used them, but...)
>
>
>  > MTD> Are you all sure that it's not a broken PHP configuration?  I.e. now
>  > MTD> that many countries are beginning DST, perhaps your PHP timezone is
>  > MTD> improperly configured in /etc/php.ini .  If so, it will cause "weird"
>  > MTD> things to happen.
>  >
>  > Well, it's not configured in there at all.  I'd assume that this would
>  > mean it comes up with the default system TZ setting and uses it.  Or I'd
>  > hope it would.  My system TZ is just fine and no other tools have
>  > timing issues.
>
>  Yeah.  Most assume that PHP does the right thing, but--depending on
>  system configuration--it often doesn't.  I'd bet if you add the
>  appropriate line to /etc/php.ini, you'll be pleasantly surprised.
>
>  Mike
>
>
> _______________________________________________
>  mythtv-users mailing list
>  mythtv-users at mythtv.org
>  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I tend to agree with Mike here...while I don't know offhand what php
or apache issue might cause this, if it were a bug in mythweb it would
almost certainly be happening to a whole lot of users.  Here's a test
that might tell you if it's an issue with time or timezone used by
php:

Create a php file...it can be named whatever you want...say
timetest.php, with the following contents:

<?php
header('Content-type: text/plain');
print date("Y-m-d h:i:s A\n");
print "GMT " . date("O");
?>

...and put that where the root or your apache server is...then browse
to it at http://your_server_name/timetest.php.  It will output
something like this:

2008-04-12 11:00:20 PM
GMT -0400

...and see if that's correct.  It should show your current local time
as well as the adjustment being used relative to GMT.  The above is
for Eastern Daylight time, or GMT -4 hours.

Tom


More information about the mythtv-users mailing list