[mythtv-commits] Ticket #11277: MythWeb cryptic PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0

MythTV noreply at mythtv.org
Fri Dec 7 01:47:48 UTC 2012


#11277: MythWeb cryptic PHP Warning:  Unknown: function '0' not found or invalid
function name in Unknown on line 0
----------------------------------------------+------------------------
     Reporter:  Anthony Messina <amessina@…>  |      Owner:  kormoc
         Type:  Patch - Bug Fix               |     Status:  new
     Priority:  minor                         |  Milestone:  unknown
    Component:  Plugin - MythWeb              |    Version:  0.26-fixes
     Severity:  low                           |   Keywords:  PHP 5.4
Ticket locked:  0                             |
----------------------------------------------+------------------------
 This ticket is somewhat related to [ticket:10504] as it pertains to PHP
 5.4 changes.  Even without the patch below, MythWeb has functioned without
 issue, except that for every click, I would get the following error in my
 Apache 2.2.22 logs, with PHP 5.4.8 on a Fedora 17 x86_64 machine:
 {{{
 PHP Warning:  Unknown: function '0' not found or invalid function name in
 Unknown on line 0
 }}}

 The attached patch may not be the true fix, but commenting out the lines
 related to '''output_handler''' does remove the errors from the Apache
 error log.
  * http://php.net/manual/en/outcontrol.configuration.php#ini.output-
 handler

 It also comments out '''php_value''' for items that are no longer present
 in PHP 5.4, such as '''safe_mode''', '''register_globals''', and
 '''magic_quotes_gpc'''.

  * http://php.net/manual/en/ini.sect.safe-mode.php
  * http://php.net/manual/en/security.globals.php
  * http://php.net/manual/en/security.magicquotes.php

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11277>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list