Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

0.25.2 php 5.4 issue, ticket 10504

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


udovdh at xs4all

Jul 27, 2012, 6:34 AM

Post #1 of 10 (1582 views)
Permalink
0.25.2 php 5.4 issue, ticket 10504

Hello,

I just updated to 0.25.2 from git.
All appears to work, except for mythweb.
There appears to be a php issue, about which I found the ticket at
http://code.mythtv.org/trac/ticket/10504.
I applied the three patches from the ticket but listings, upcoming
recordings, recorded programs and even the backend status don't work.

As php-5.4.4-4.fc17.x86_64 is the default php for Fedora 17 this is a
major issue.

Are more patches and/or a workaround available to make mythweb usable again?

Kind regards,
Udo

PS: error_log has stuff like:

Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
[Fri Jul 27 15:23:34 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:29:14 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
[Fri Jul 27 15:29:17 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:29:21 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:29:36 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/list
[Fri Jul 27 15:29:38 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
[Fri Jul 27 15:29:39 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:29:45 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
[Fri Jul 27 15:29:57 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:29:59 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
[Fri Jul 27 15:30:14 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/schedules
[Fri Jul 27 15:30:16 2012] [error] [client 192.168.10.70] PHP Warning:
Unknown: function '0' not found or invalid function name in Unknown on
line 0, referer: http://recorder/mythweb/tv/searches
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


udovdh at xs4all

Jul 27, 2012, 8:03 AM

Post #2 of 10 (1572 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

Hello,

Small update.

After cleaning out /usr/share/mythtv, reinstalling mythweb and
php-MythTV, and using the info at
http://www.mythtv.org/pipermail/mythtv-users/2011-March/312729.html I
made stuff work a bit better but not perfect yet.
Remaining issues:

Recorded programs gives errors:

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


Backend status gives an empty screen (just the workd MythTV).
(same result using lynx on localhost)


Upcoming Recordings gives and empty listing.
A click on Search does show stuff.


Good things:

Listings work.
Searches work.
Recording Schedules look OK.


Does this give any indication of what might be the matter?

Kind regards,
Udo


On 2012-07-27 15:34, Udo van den Heuvel wrote:
> Hello,
>
> I just updated to 0.25.2 from git.
> All appears to work, except for mythweb.
> There appears to be a php issue, about which I found the ticket at
> http://code.mythtv.org/trac/ticket/10504.
> I applied the three patches from the ticket but listings, upcoming
> recordings, recorded programs and even the backend status don't work.
>
> As php-5.4.4-4.fc17.x86_64 is the default php for Fedora 17 this is a
> major issue.
>
> Are more patches and/or a workaround available to make mythweb usable again?
>
> Kind regards,
> Udo
>
> PS: error_log has stuff like:
>
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:23:34 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:29:14 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:29:17 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:29:21 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:29:36 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/list
> [Fri Jul 27 15:29:38 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:29:39 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:29:45 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:29:57 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:29:59 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:30:14 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules
> [Fri Jul 27 15:30:16 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


amessina at messinet

Jul 27, 2012, 9:43 AM

Post #3 of 10 (1539 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 07/27/2012 08:34 AM, Udo van den Heuvel wrote:
> Hello,
>
> I just updated to 0.25.2 from git.
> All appears to work, except for mythweb.
> There appears to be a php issue, about which I found the ticket at
> http://code.mythtv.org/trac/ticket/10504.
> I applied the three patches from the ticket but listings, upcoming
> recordings, recorded programs and even the backend status don't work.
>
> As php-5.4.4-4.fc17.x86_64 is the default php for Fedora 17 this is a
> major issue.
>
> Are more patches and/or a workaround available to make mythweb usable again?
>
> Kind regards,
> Udo
>
> PS: error_log has stuff like:
>
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/searches
> [Fri Jul 27 15:23:34 2012] [error] [client 192.168.10.70] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0, referer: http://recorder/mythweb/tv/schedules

I have mythweb working, but still receive the errors you do above with
every request, as commented here:
http://code.mythtv.org/trac/ticket/10504#comment:24

Unfortunately, I have not yet been able to track down why mythweb works,
but still produces this error in the apache logs.


--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Attachments: signature.asc (0.19 KB)


udovdh at xs4all

Jul 27, 2012, 9:56 AM

Post #4 of 10 (1538 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 2012-07-27 18:43, Anthony Messina wrote:
> I have mythweb working, but still receive the errors you do above
> with every request, as commented here:
> http://code.mythtv.org/trac/ticket/10504#comment:24
>
> Unfortunately, I have not yet been able to track down why mythweb
> works, but still produces this error in the apache logs.

I have +/- the same state.

Are the '!!NoTrans: gmp_add(): Unable to convert variable to GMP -
wrong type!!' messages somewhat related to this issue?

My mythtv is 0.25.2 built from git using the rpm script in the
packaging git repo.
Why is /usr/share/mythtv/mythv/* in that location and not in
/usr/share/mythtv ? mythweb does not work at all this way.
Why is the correct MythBackend.php not in the right spot? This doesn't
help...
So I corrected those issues. I applied the three patches from the ticket.

The backend runs, the database was upgraded OK.
So what did we miss?
Why is the php 5.4 fix for 0.26 when php 5.4 is in e.g. Fedora?

Kind regards,
Udo

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


amessina at messinet

Jul 27, 2012, 10:02 AM

Post #5 of 10 (1530 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 07/27/2012 11:56 AM, Udo van den Heuvel wrote:
> I have the same state.
>
> Are the '!!NoTrans: gmp_add(): Unable to convert variable to GMP -
> wrong type!!' messages somewhat related to this issue?
>
> My mythtv is 0.25.2 built from git using the rpm script in the
> packaging git repo.
> Why is /usr/share/mythtv/mythv/* in that location and not in
> /usr/share/mythtv ? mythweb does not work at all this way.
> Why is the correct MythBackend.php not in the right spot? This doesn't
> help...
> So I corrected those issues. I applied the three patches from the ticket.
>
> The backend runs, the database was upgraded OK.
> So what did we miss?
> Why is the php 5.4 fix for 0.26 when php 5.4 is in e.g. Fedora?

Did you apply the patches for mythweb AND the one for the php-MythTV
bindings (my copies are listed below)?

MythWeb:
http://messinet.com/rpms/browser/mythweb/mythweb-0.25-php5.4.patch

MythTV PHP bindings:
http://messinet.com/rpms/browser/mythtv/mythtv-0.25-php5.4.patch

With those two applied, my methweb *works*, but I do get the "Unknown:
function '0' not found or invalid function name in Unknown on
line 0, ..." error as I described. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Attachments: signature.asc (0.19 KB)


udovdh at xs4all

Jul 27, 2012, 11:13 PM

Post #6 of 10 (1512 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 2012-07-27 19:02, Anthony Messina wrote:
>> The backend runs, the database was upgraded OK.
>> So what did we miss?
>> Why is the php 5.4 fix for 0.26 when php 5.4 is in e.g. Fedora?
>
> Did you apply the patches for mythweb AND the one for the php-MythTV
> bindings (my copies are listed below)?

These patches look similar to the ones mentioned in the ticket, so yes
they were applied.

> With those two applied, my methweb *works*, but I do get the "Unknown:
> function '0' not found or invalid function name in Unknown on
> line 0, ..." error as I described. -A

So I might see a different problem as well.
Are you on a non-Fedora distro?

Kind regards,
Udo

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


amessina at messinet

Jul 28, 2012, 4:48 AM

Post #7 of 10 (1510 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 07/28/2012 01:13 AM, Udo van den Heuvel wrote:
> On 2012-07-27 19:02, Anthony Messina wrote:
>> >
>> > Did you apply the patches for mythweb AND the one for the php-MythTV
>> > bindings (my copies are listed below)?
> These patches look similar to the ones mentioned in the ticket, so yes
> they were applied.
>
>> > With those two applied, my methweb *works*, but I do get the "Unknown:
>> > function '0' not found or invalid function name in Unknown on
>> > line 0, ..." error as I described. -A
> So I might see a different problem as well.
> Are you on a non-Fedora distro?

Nope, I'm using Fedora 17.

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Attachments: signature.asc (0.19 KB)


udovdh at xs4all

Jul 30, 2012, 6:30 AM

Post #8 of 10 (1470 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 2012-07-28 13:48, Anthony Messina wrote:
> On 07/28/2012 01:13 AM, Udo van den Heuvel wrote:
>> So I might see a different problem as well.
>> Are you on a non-Fedora distro?
>
> Nope, I'm using Fedora 17.

Hmm. That's interesting. What could cause the '!!NoTrans: gmp_add():
Unable to convert variable to GMP - wrong type!!' messages?
How could we find out?
The box is current w.r.t. updates via yum if that helps.

Kind regards,
Udo

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


udovdh at xs4all

Jul 30, 2012, 9:05 AM

Post #9 of 10 (1478 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 2012-07-30 15:30, Udo van den Heuvel wrote:
> On 2012-07-28 13:48, Anthony Messina wrote:
>> Nope, I'm using Fedora 17.
>
> Hmm. That's interesting. What could cause the '!!NoTrans: gmp_add():
> Unable to convert variable to GMP - wrong type!!' messages?
> How could we find out?
> The box is current w.r.t. updates via yum if that helps.

I did notice that in the Recorded Programs screen, besides these messages:

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

and a popup:

Warning:
No matching programs found.
Showing all programs.

(no programs shown BTW)

that the groups combo box has all numbered groups below the 'All groups'
choice.
The database upgrade was ok, we're at schema version 1299 now.
What could be the cause of this behaviour?

Kind regards,
Udo

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


udovdh at xs4all

Aug 9, 2012, 6:27 AM

Post #10 of 10 (1354 views)
Permalink
Re: 0.25.2 php 5.4 issue, ticket 10504 [In reply to]

On 2012-07-30 18:05, Udo van den Heuvel wrote:
> The database upgrade was ok, we're at schema version 1299 now.
> What could be the cause of this behaviour?

Because a 'same here' is interpreted as a 'me too' instead as 'it is
really true and even reproducible, I could help testing' I post this
here instead.
Also this post would like to express some urgency as the usability of
mythweb has decreased significantly.

Kind regards,
Udo

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.