← Back to team overview

mythbuntu-bugs team mailing list archive

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

 

I have the same issue with ubuntu 12.10. Any workaround. It is possible
to downgrade php?

-- 
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