[mythtv-commits] Ticket #11270: php-5.4.8-1.fc17.x86_64, ticket 10504, php doesn't work

MythTV noreply at mythtv.org
Mon Dec 3 11:51:03 UTC 2012


#11270: php-5.4.8-1.fc17.x86_64, ticket 10504, php doesn't work
------------------------+--------------------------------------
 Reporter:  udovdh@…    |           Type:  Bug Report - General
   Status:  new         |       Priority:  major
Milestone:  unknown     |      Component:  MythTV - General
  Version:  0.26-fixes  |       Severity:  medium
 Keywords:              |  Ticket locked:  0
------------------------+--------------------------------------
 Mythweb stopped working when upgrading to 0.25.x.
 A solution was promised in 0.26.1 in ticket 10504.
 That ticket was changed, essentially no code was changed when that
 happened, and an upgrade to 0.26.0.1 was suggested.
 So I did and I found no change w.r.t. the mythweb problem(s).
 Question is if I see the same issues as in 10504 or not.
 I see in the httpd error_log:
 PHP Warning:  Unknown: function '0' not found or invalid function name in
 Unknown on line 0

 I also see 500 errors when trying to open the mythweb homepage.
 When I apply the tree patches from ticket 10504 stuff behaves better.

 The thing that does NOT work is the recorded programs screen.
 at the top of the screen this is printed:

 Warning at /usr/share/mythweb/modules/tv/recorded.php, line 193:
 !!NoTrans: gmp_add(): Unable to convert variable to GMP - wrong type!!

 Warning at /usr/share/mythweb/modules/tv/recorded.php, line 194:
 !!NoTrans: gmp_add(): Unable to convert variable to GMP - wrong type!!

 Warning at /usr/share/mythweb/modules/_shared/tmpl/default/header.php,
 line 16:
 !!NoTrans: Cannot modify header information - headers already sent by
 (output started at /usr/share/mythweb/includes/errors.php:150)!!

 I get a pop-up like message saying:
 Warning: No matching programs found. Showing all programs.

 When I click OK I can select a group, but the groups are shown as
 numbers of 10 positions. A selection does not show a program.
 When I select a program under Show recordings I get the pop-up like
 message saying:
 Warning: No matching programs found. Showing all programs.


 I use the packaging solution from git to build the rpms.
 mythweb is installed in /usr/share/mythweb/mythweb instead of
 /usr/share/mythweb/ so I copy stuff there.
 Then I replace the MythBackend.php from php-MythTV and also put
 MythBackend.php in include.
 After applying the three patches from 10504 stuff starts to work.

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


More information about the mythtv-commits mailing list