← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1048121] Re: mythweb/php-mythtv incompatibility with PHP 5.4.x

 

Seconding what Drumz notes. The upstream patches also work great when
applied to my system (Ubuntu 12.10 w/ current MythTV).  This is a major
problem within the context of the mythweb package since basically every
upgraded release re-breaks the behavior.  Obviously, a downgrade of PHP
is out of the question, but maybe you could incorporate this particular
upstream patch set into any further 12.10 mytweb rebuilds that take
place? Sorry that I'm not super clear on how the specifics of this work,
but I'm guessing that's an easier change to manage than backporting all
the 0.26 myth releases to Ubuntu 12.10...  If I can assist in any way,
please give a shout!

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1048121

Title:
  mythweb/php-mythtv incompatibility with PHP 5.4.x

Status in “mythtv” package in Ubuntu:
  Confirmed

Bug description:
  After updating to the 12.10 development release, I can no longer use
  mythweb, any attempt to visit th emythweb page results in the
  following warning + error in my apache logs:

  [Sun Sep 09 15:03:04 2012] [error] [client x.x.x.x] PHP Warning:  Unknown: function '0' not found or invalid function name in Unknown on line 0
  [Sun Sep 09 15:03:04 2012] [error] [client x.x.x.x] PHP Fatal error:  Call-time pass-by-reference has been removed in /usr/share/mythtv/bindings/php/MythBase.php on line 50

  This appears to be a known issue upstream in MythTV ticket #10504 at:
  http://code.mythtv.org/trac/ticket/10504

  My php version:
  ~# php --version
  PHP 5.4.6-1ubuntu1 (cli) (built: Aug 22 2012 21:13:52)
  Copyright (c) 1997-2012 The PHP Group
  Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

  The reported file from the apache error belongs to php-mythtv on Ubuntu:
  ~# dpkg-query -S /usr/share/mythtv/bindings/php/MythBase.php
  php-mythtv: /usr/share/mythtv/bindings/php/MythBase.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1048121/+subscriptions


References