← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 445873] Re: Problems in MythBackend.php for mythweb

 

** Package changed: mythweb (Ubuntu) => mythplugins (Ubuntu)

-- 
Problems in MythBackend.php for mythweb
https://bugs.launchpad.net/bugs/445873
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythplugins in ubuntu.

Status in “mythplugins” package in Ubuntu: New

Bug description:
Hi there.
As per the guidelines - 
I'm using 
Description:	Ubuntu karmic (development branch)
Release:	9.10
the package is 
apt-cache policy mythweb
mythweb:
  Installed: 0.22.0~trunk22242-0ubuntu1
  Candidate: 0.22.0~trunk22242-0ubuntu1
  Version table:
 *** 0.22.0~trunk22242-0ubuntu1 0
        500 http://archive.ubuntu.com karmic/multiverse Packages
        100 /var/lib/dpkg/status

I didn't think that I'd be able to gather this information properly using apport.

The problem is shown when I load the first page from mythweb on my backend system - 

ie http://myhost/mythweb/tv/list

The page starts with 2 errors.  The first is

 
User Notice at /usr/share/mythtv/mythweb/classes/MythBackend.php, line 124:
Failed to set php timezone to BST Response from backend was Array ( [0] => BST [1] => 3600 [2] => 2009-10-07T23:48:41 )

As far as I can make out, the problem is with 

if (!@date_default_timezone_set($_SESSION['backend']['timezone']['value'])) 
from the MythBackend.php file.  The value it is trying to set is BST (the first element in the array above) but that is failing, for reasons unknown.  I put in a line forcing it to use "Europe/London" instead, and the error went away.  This could be a problem in php rather than mythweb I guess.

Thanks,
Chris