Mailing List Archive

Mythweb error after upgrading to Ubuntu 21.10
Hi all,

As part of my commitment to living dangerously, I upgraded my mythtv combo
backend/frontend to 20.10. Since then, attempting to use mythtweb gives me
the following error:

Fatal error: Uncaught Error: Undefined constant "ASSERT_QUIET_EVAL" in
/usr/share/mythtv/mythweb/includes/errors.php:50 Stack trace: #0
/usr/share/mythtv/mythweb/includes/init.php(21): require_once() #1
/usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2 {main}
thrown in /usr/share/mythtv/mythweb/includes/errors.php on line 50

Versions of mythtv software installed on the box are as follows:

$ dpkg -l | grep myth
ii libmyth
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Common library code
for MythTV and add-on modules (runtime)
ii libmyth-dev
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Common library code
for MythTV and add-on modules (development)
ii libmyth-python
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all Python library to
access some MythTV features
ii libmythes-1.2-0:amd64 2:1.2.4-3build2
amd64 simple thesaurus library
ii libmythtv-perl
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all Perl library to
access some MythTV features
ii mytharchive
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 create and burn
DVD's from MythTV - binary file
ii mythbrowser
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Web browser plugin
for MythTV
ii mythes-en-au 2.1-5.5
all Australian English Thesaurus for OpenOffice.org
ii mythes-en-us 1:7.1.0~rc3-3
all English (USA) Thesaurus for LibreOffice
ii mythexport 2.2.4-0ubuntu6
amd64 Export MythTV recording to portable media players
ii mythnews
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 RSS feed news reader
module for MythTV
ii mythtv
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all Personal video
recorder application (client and server)
ii mythtv-backend
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Personal video
recorder application (server)
ii mythtv-common
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Personal video
recorder application (common data)
ii mythtv-database
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all Personal video
recorder application (database)
ii mythtv-dbg
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Debug symbols for
mythtv packages
ii mythtv-frontend
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Personal video
recorder application (client)
ii mythtv-theme-mythbuntu
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all MythTV Theme used in
the Mythbuntu distribution
ii mythtv-transcode-utils
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Utilities used for
transcoding MythTV tasks
ii mythweather
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 Weather add-on
module for MythTV
ii mythweb
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all Web interface
add-on module for MythTV
ii php-mythtv
2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all PHP Bindings for
MythTV
$

Any ideas?
--

"I and the public know
what all schoolchildren learn
Those to whom evil is done
Do evil in return" W.H. Auden, "September 1, 1939"
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 10/11/2021 07:13, Stephen Hocking wrote:

> Hi all,
>
> As part of my commitment to living dangerously, I upgraded my mythtv
> combo backend/frontend to 20.10. Since then, attempting to use
> mythtweb gives me the following error:
>
> Fatal error: Uncaught Error: Undefined constant "ASSERT_QUIET_EVAL" in
> /usr/share/mythtv/mythweb/includes/errors.php:50 Stack trace: #0
> /usr/share/mythtv/mythweb/includes/init.php(21): require_once() #1
> /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2
> {main} thrown in /usr/share/mythtv/mythweb/includes/errors.php on line 50
>
> Versions of mythtv software installed on the box are as follows:
>
>  $ dpkg -l | grep myth
> ii  libmyth  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64  Common
> library code for MythTV and add-on modules (runtime)
> ii  libmyth-dev  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Common library code for MythTV and add-on modules (development)
> ii  libmyth-python 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all
>  Python library to access some MythTV features
> ii  libmythes-1.2-0:amd64                    2:1.2.4-3build2          
>                 amd64        simple thesaurus library
> ii  libmythtv-perl 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all      
>    Perl library to access some MythTV features
> ii  mytharchive  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  create and burn DVD's from MythTV - binary file
> ii  mythbrowser  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  Web browser plugin for MythTV
> ii  mythes-en-au                             2.1-5.5                  
>         all          Australian English Thesaurus for OpenOffice.org
> ii  mythes-en-us                             1:7.1.0~rc3-3            
>               all          English (USA) Thesaurus for LibreOffice
> ii  mythexport                               2.2.4-0ubuntu6          
>                  amd64        Export MythTV recording to portable
> media players
> ii  mythnews 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  RSS feed news reader module for MythTV
> ii  mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all  Personal
> video recorder application (client and server)
> ii  mythtv-backend 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (server)
> ii  mythtv-common  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (common data)
> ii  mythtv-database  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all
>  Personal video recorder application (database)
> ii  mythtv-dbg 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  Debug symbols for mythtv packages
> ii  mythtv-frontend  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (client)
> ii  mythtv-theme-mythbuntu 2:31.0+fixes.20200323.9579662cdc-0ubuntu9
> all  MythTV Theme used in the Mythbuntu distribution
> ii  mythtv-transcode-utils 2:31.0+fixes.20200323.9579662cdc-0ubuntu9
> amd64  Utilities used for transcoding MythTV tasks
> ii  mythweather  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Weather add-on module for MythTV
> ii  mythweb  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all        
>  Web interface add-on module for MythTV
> ii  php-mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all        
>  PHP Bindings for MythTV
>  $
>
> Any ideas?
>

"20.10 or 21.10?


I believe Ubuntu 21.10 switched to php8 which breaks MythWeb and since
it's no longer being actively developed  because focus has switched to
the WebFrontend the only way it will get fixed is if someone steps
forward to provide a patch to fix it.


Paul H.

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 11/10/21 2:13 AM, Stephen Hocking wrote:
> Hi all,
>
> As part of my commitment to living dangerously, I upgraded my mythtv
> combo backend/frontend to 20.10. Since then, attempting to use
> mythtweb gives me the following error:
>
> Fatal error: Uncaught Error: Undefined constant "ASSERT_QUIET_EVAL" in
> /usr/share/mythtv/mythweb/includes/errors.php:50 Stack trace: #0
> /usr/share/mythtv/mythweb/includes/init.php(21): require_once() #1
> /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2
> {main} thrown in /usr/share/mythtv/mythweb/includes/errors.php on line 50
>
> Versions of mythtv software installed on the box are as follows:
>
>  $ dpkg -l | grep myth
> ii  libmyth  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64  Common
> library code for MythTV and add-on modules (runtime)
> ii  libmyth-dev  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Common library code for MythTV and add-on modules (development)
> ii  libmyth-python 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all
>  Python library to access some MythTV features
> ii  libmythes-1.2-0:amd64                    2:1.2.4-3build2          
>                 amd64        simple thesaurus library
> ii  libmythtv-perl 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all      
>    Perl library to access some MythTV features
> ii  mytharchive  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  create and burn DVD's from MythTV - binary file
> ii  mythbrowser  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  Web browser plugin for MythTV
> ii  mythes-en-au                             2.1-5.5                  
>         all          Australian English Thesaurus for OpenOffice.org
> ii  mythes-en-us                             1:7.1.0~rc3-3            
>               all          English (USA) Thesaurus for LibreOffice
> ii  mythexport                               2.2.4-0ubuntu6          
>                  amd64        Export MythTV recording to portable
> media players
> ii  mythnews 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  RSS feed news reader module for MythTV
> ii  mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all  Personal
> video recorder application (client and server)
> ii  mythtv-backend 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (server)
> ii  mythtv-common  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (common data)
> ii  mythtv-database  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all
>  Personal video recorder application (database)
> ii  mythtv-dbg 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64      
>  Debug symbols for mythtv packages
> ii  mythtv-frontend  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Personal video recorder application (client)
> ii  mythtv-theme-mythbuntu 2:31.0+fixes.20200323.9579662cdc-0ubuntu9
> all  MythTV Theme used in the Mythbuntu distribution
> ii  mythtv-transcode-utils 2:31.0+fixes.20200323.9579662cdc-0ubuntu9
> amd64  Utilities used for transcoding MythTV tasks
> ii  mythweather  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64
>  Weather add-on module for MythTV
> ii  mythweb  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all        
>  Web interface add-on module for MythTV
> ii  php-mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all        
>  PHP Bindings for MythTV
>  $
>
> Any ideas?
> --
> "I and the public know
> what all schoolchildren learn
> Those to whom evil is done
> Do evil in return" W.H. Auden, "September 1, 1939"


As you found out from Paul, it's a PHP8 upgrade in 21.10 that caught
you.  As far as staying current. I've found that Ubuntu 20.04.3
installed with the newest .iso media will install with the HWE kernel
and give you support for all the latest hardware. It works great with
Mythtv v31 as well as Master.

I has a 11th gen Core i7 NUC that would not run Ubuntu 20.04 until you
get the latest kernel.  The newest dot level of the install media keeps
the LTS of the release without sacrificing the new kernels. Support is
until 2025 for 20.04 LTS.

Jim A
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 11/10/21 5:54 AM, Paul Harrison wrote:
> I believe Ubuntu 21.10 switched to php8 which breaks MythWeb and since
> it's no longer being actively developed  because focus has switched to
> the WebFrontend the only way it will get fixed is if someone steps
> forward to provide a patch to fix it.
I added some warnings to the wiki: https://www.mythtv.org/wiki/MythWeb ,
but https://www.mythtv.org/wiki/WebFrontend hasn't been updated in four
years and needs updating.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
Thank you Scott

WebFrontend does most of what I want, thanks for all the hard work!

--

"I and the public know
what all schoolchildren learn
Those to whom evil is done
Do evil in return" W.H. Auden, "September 1, 1939"
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
I know this is a very late reply, but I only noticed this thread because
of recent discussion on -dev. Judging from things like [1] (which I
found just by searching for ASSERT_QUIET_EVAL), I'm wondering if simply
commenting-out that line in /usr/share/mythtv/mythweb/includes/errors.php
might fix this. I don't have a 21.x/PHP8 test setup to have any idea if
it would, but it might be an easy test for you try to and report back.

[.From the paragraph at the top of that file, I'm guessing that Chris
Petersen may have written that file for use in many of his projects,
not just Mythweb, and perhaps that line isn't even relevent for Mythweb.]

[1] https://github.com/simplesamlphp/simplesamlphp/issues/1421
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On Sun, Dec 12, 2021 at 11:20 AM <f-myth-users@lab.media.mit.edu> wrote:

> I know this is a very late reply, but I only noticed this thread because
> of recent discussion on -dev. Judging from things like [1] (which I
> found just by searching for ASSERT_QUIET_EVAL), I'm wondering if simply
> commenting-out that line in /usr/share/mythtv/mythweb/includes/errors.php
> might fix this. I don't have a 21.x/PHP8 test setup to have any idea if
> it would, but it might be an easy test for you try to and report back.
>
> [.From the paragraph at the top of that file, I'm guessing that Chris
> Petersen may have written that file for use in many of his projects,
> not just Mythweb, and perhaps that line isn't even relevent for Mythweb.]
>
> [1] https://github.com/simplesamlphp/simplesamlphp/issues/1421
>
>
I tried just commenting out the line you mentioned and now the error has
moved to a new place. Not sure it's worth chasing all of these since
mythweb is depreciated. The new error is:

Fatal error: Uncaught Error: Call to undefined function
get_magic_quotes_gpc() in /usr/share/mythtv/mythweb/includes/cleanup.php:50
Stack trace: #0 /usr/share/mythtv/mythweb/includes/init.php(30):
require_once() #1 /usr/share/mythtv/mythweb/mythweb.php(20):
require_once('...') #2 {main} thrown in
/usr/share/mythtv/mythweb/includes/cleanup.php on line 50

Jim A
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 13/12/2021 13:12, James Abernathy wrote:
>
>
> On Sun, Dec 12, 2021 at 11:20 AM <f-myth-users@lab.media.mit.edu> wrote:
>
> I know this is a very late reply, but I only noticed this thread
> because
> of recent discussion on -dev.  Judging from things like [1] (which I
> found just by searching for ASSERT_QUIET_EVAL), I'm wondering if
> simply
> commenting-out that line in
> /usr/share/mythtv/mythweb/includes/errors.php
> might fix this.  I don't have a 21.x/PHP8 test setup to have any
> idea if
> it would, but it might be an easy test for you try to and report back.
>
> [.From the paragraph at the top of that file, I'm guessing that Chris
> Petersen may have written that file for use in many of his projects,
> not just Mythweb, and perhaps that line isn't even relevent for
> Mythweb.]
>
> [1] https://github.com/simplesamlphp/simplesamlphp/issues/1421
>
>
> I tried just commenting out the line you mentioned and now the error
> has moved to a new place. Not sure it's worth chasing all of these
> since mythweb is depreciated. The new error is:
>
> Fatal error: Uncaught Error: Call to undefined function
> get_magic_quotes_gpc() in
> /usr/share/mythtv/mythweb/includes/cleanup.php:50 Stack trace: #0
> /usr/share/mythtv/mythweb/includes/init.php(30): require_once() #1
> /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2
> {main} thrown in /usr/share/mythtv/mythweb/includes/cleanup.php on line 50

Hi,

There is more involved than changing a single line of code, although the
changes aren't huge.

Please test this pull request ... https://github.com/MythTV/mythweb/pull/64

It fixes all breakages I've found when moving from PHP 7.4 to 8.0.

Regards,

Nige.
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
> Date: Mon, 13 Dec 2021 08:12:20 -0500
> From: James Abernathy <jfabernathy@gmail.com>

> I tried just commenting out the line you mentioned and now the error has
> moved to a new place. Not sure it's worth chasing all of these since
> mythweb is depreciated. The new error is:

Good news! Since I sent mail yesterday, the discussion on the -dev list
caused Nigel Jewell to revise a PR which is claimed to fix the PHP8 issues.
It needs testing before merging; maybe you can help test his patch.

https://github.com/MythTV/mythweb/pull/64
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 12/13/21 10:14 AM, Nigel Jewell wrote:
>
>
> On 13/12/2021 13:12, James Abernathy wrote:
>>
>>
>> On Sun, Dec 12, 2021 at 11:20 AM <f-myth-users@lab.media.mit.edu> wrote:
>>
>> I know this is a very late reply, but I only noticed this thread
>> because
>> of recent discussion on -dev.  Judging from things like [1] (which I
>> found just by searching for ASSERT_QUIET_EVAL), I'm wondering if
>> simply
>> commenting-out that line in
>> /usr/share/mythtv/mythweb/includes/errors.php
>> might fix this.  I don't have a 21.x/PHP8 test setup to have any
>> idea if
>> it would, but it might be an easy test for you try to and report
>> back.
>>
>> [.From the paragraph at the top of that file, I'm guessing that Chris
>> Petersen may have written that file for use in many of his projects,
>> not just Mythweb, and perhaps that line isn't even relevent for
>> Mythweb.]
>>
>> [1] https://github.com/simplesamlphp/simplesamlphp/issues/1421
>>
>>
>> I tried just commenting out the line you mentioned and now the error
>> has moved to a new place. Not sure it's worth chasing all of these
>> since mythweb is depreciated. The new error is:
>>
>> Fatal error: Uncaught Error: Call to undefined function
>> get_magic_quotes_gpc() in
>> /usr/share/mythtv/mythweb/includes/cleanup.php:50 Stack trace: #0
>> /usr/share/mythtv/mythweb/includes/init.php(30): require_once() #1
>> /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2
>> {main} thrown in /usr/share/mythtv/mythweb/includes/cleanup.php on
>> line 50
>
> Hi,
>
> There is more involved than changing a single line of code, although
> the changes aren't huge.
>
> Please test this pull request ...
> https://github.com/MythTV/mythweb/pull/64
>
> It fixes all breakages I've found when moving from PHP 7.4 to 8.0.
>
> Regards,
>
> Nige
>
I'm willing to test, but what I have is a Kubuntu 21.10 system with
mythtv built from master current as of this morning. What do I do? do I
simply go to the build from source site and start at the Install MythWeb
paragraph?  What branch to I checkout??

Jim A
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On Mon, 2021-12-13 at 10:43 -0500, Jim Abernathy wrote:
>
> On 12/13/21 10:14 AM, Nigel Jewell wrote:
>
> >
> >
> > On 13/12/2021 13:12, James Abernathy wrote:
> >
> > >
> > >
> > >
> > > On Sun, Dec 12, 2021 at 11:20 AM <f-myth-users@lab.media.mit.edu>
> > > wrote:
> > >
> > > > I know this is a very late reply, but I only noticed this
> > > > thread because
> > > > of recent discussion on -dev.  Judging from things like [1]
> > > > (which I
> > > > found just by searching for ASSERT_QUIET_EVAL), I'm wondering
> > > > if simply
> > > > commenting-out that line in
> > > > /usr/share/mythtv/mythweb/includes/errors.php
> > > > might fix this.  I don't have a 21.x/PHP8 test setup to have
> > > > any idea if
> > > > it would, but it might be an easy test for you try to and
> > > > report back.
> > > >
> > > > [.From the paragraph at the top of that file, I'm guessing that
> > > > Chris
> > > > Petersen may have written that file for use in many of his
> > > > projects,
> > > > not just Mythweb, and perhaps that line isn't even relevent for
> > > > Mythweb.]
> > > >
> > > > [1] http://email.mg.glenb.net/c/eJxtzkEOgyAQheHTyK4GBxRYsOim92BgFBNQ42CT3r4m3TZ5i__bveTjHNKoxeqTBTNHm4iMQUdS40hKKZooBBzIIloFUYY-hkql03IptGG_URPZz24EQnRSWRgggYw6uWggJj0Fp6QoPrd2cKeeHbzuLWvLF_Zxrzd4rUchDrUc-fjjlfkivmPQMIjT10_L7f24mE6-j_zY7-fyBQ1GQvo
> > > >
> > > >
> > >
> > > I tried just commenting out the line you mentioned and now the
> > > error has moved to a new place. Not sure it's worth chasing all
> > > of these since mythweb is depreciated. The new error is:
> > >
> > > Fatal error: Uncaught Error: Call to undefined function
> > > get_magic_quotes_gpc() in
> > > /usr/share/mythtv/mythweb/includes/cleanup.php:50 Stack trace: #0
> > > /usr/share/mythtv/mythweb/includes/init.php(30): require_once()
> > > #1 /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...')
> > > #2 {main} thrown in
> > > /usr/share/mythtv/mythweb/includes/cleanup.php on line 50
> > Hi,
> > There is more involved than changing a single line of code,
> > although the changes aren't huge.
> > Please test this pull request ...
> > http://email.mg.glenb.net/c/eJwljbsOwyAUQ78mbEU8AxkYsnTrVnXnwk2IRB5KSKv-fYlqWfKxF0cXBh-1IpOLVpgh2IhoDHTIFGiUUmKL3gNHC2ClCMzT4GfMjWJjxgXogoUkx6QeuAqKoe4uWcEFtDJgx7k13pPsUinb0ci-EffqcSrpBBrWuZbHt6Tnq8Jc4YNQaTtzrtEqsrtrLe_beeB-1N9_pes-_gBjKDuM
> > It fixes all breakages I've found when moving from PHP 7.4 to 8.0.
> > Regards,
> > Nige
> I'm willing to test, but what I have is a Kubuntu 21.10 system with
> mythtv built from master current as of this morning. What do I do? do
> I simply go to the build from source site and start at the Install
> MythWeb paragraph?  What branch to I checkout??
> Jim A
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://email.mg.glenb.net/c/eJxNjkEOwiAURE9TdpJfoC0sWLjxHh_4tCSApqCJt7caE01mM29mkgnWRwyTYskGLZbodSBaFmcIlJtISkkzIbqRtHNaCg_IPRbKg4I1U3W8Umeb1ahnEDSCNMYHUGAoGu9AzGoM0WiW7db7bZDnQVwO5dR64-XZt_7g1309UMGUC9ZvmGq8vuGncbo32hvb7b89Hvz2L0CuQUY
> http://email.mg.glenb.net/c/eJxFjb0OgjAYRZ8GNhv6J2Xo4OKkz0D6cwuNBRU-NL69JA4mdzo5JzfakFzUqs42GtGmYCLQtr5Do7yGlBJHOOc5jPdGitA4FtyEUqlmKJg9m0H1aKUWiFwr8JC4EtElqE4oLpTptGtjXexI9KjkqRLnfe98y2z60Egvdl-GnVxdLnke-kteqQfl5wYi1Iv9WYdtxbLur__oC24CPVo
> MythTV Forums: http://email.mg.glenb.net/c/eJxFjDkKwzAQAF9jdRGydmWtCxVp8g8du3bAR5DlQH4fQ4rANMPAlJAlFofqGQpZL5kKs_dpZIPJMQDwwDGmniklAptN1DmuvHRopoW3pDduag7O9AhkBxrFUgHMJMURInuQYRSvljC39jo6uHf2cSF7PVe9ftrc3nqvk6rhJ7fz4Hpc-3_7AjAzNEU

i will test this coming weekend. i am on arch linux and use nextcloud.
in January, nextcloud will no longer support php 7.4 and will require
php 8, so i plan to switch over this weekend. I've waited all this time
because i use mythweb a good bit. I'm very happy that there is
something that will probably provide the solution..so that i don't have
to figure out how to run both versions
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
Mythweb and php8

I am testing the pull request from Nigel. Looking good so far. If all is
well I will commit it in the next day or two. This will be on master. If
possible I will port it to fixes/31 as well.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On Mon, Dec 13, 2021 at 11:24 AM Peter Bennett <pb.mythtv@gmail.com> wrote:
>
> Mythweb and php8
>
> I am testing the pull request from Nigel. Looking good so far. If all is
> well I will commit it in the next day or two. This will be on master. If
> possible I will port it to fixes/31 as well.
>
> Peter
>
For anyone interested: I'm actually still running 29.1 (for reasons I
won't get into here) under Gentoo and a full patch of that pull
request applies without issues to that version (probably because
mythweb has changed so little), and so far appears to work fine.

Tom
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
Nigel Jewell wrote:
> Please test this pull request ... https://github.com/MythTV/mythweb/pull/64

Working great here!

Mythtv v31.0-5824c588db2 on Gentoo using PHP 8.1.0.

Al
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
> Date: Wed, 10 Nov 2021 17:09:09 -0500
> From: Scott Theisen <scott.the.elm@gmail.com>

> I added some warnings to the wiki: https://www.mythtv.org/wiki/MythWeb ,

Since a fix for PHP8 was just merged, it might be a good idea to remove
the warning in https://www.mythtv.org/wiki/MythWeb that it doesn't work
with PHP8. (I'd do it, but I don't have edit privs on the wiki.)
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 12/13/21 8:05 PM, f-myth-users@lab.media.mit.edu wrote:
> > Date: Wed, 10 Nov 2021 17:09:09 -0500
> > From: Scott Theisen <scott.the.elm@gmail.com>
>
> > I added some warnings to the wiki: https://www.mythtv.org/wiki/MythWeb ,
>
> Since a fix for PHP8 was just merged, it might be a good idea to remove
> the warning in https://www.mythtv.org/wiki/MythWeb that it doesn't work
> with PHP8. (I'd do it, but I don't have edit privs on the wiki.)

Just modified it, thanks for mentioning it.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythweb error after upgrading to Ubuntu 21.10 [ In reply to ]
On 12/13/21 21:12, Bill Meek wrote:
> On 12/13/21 8:05 PM, f-myth-users@lab.media.mit.edu wrote:
>> > Date: Wed, 10 Nov 2021 17:09:09 -0500
>> > From: Scott Theisen <scott.the.elm@gmail.com>
>>
>> > I added some warnings to the wiki: https://www.mythtv.org/wiki/MythWeb ,
>>
>> Since a fix for PHP8 was just merged, it might be a good idea to remove
>> the warning in https://www.mythtv.org/wiki/MythWeb that it doesn't work
>> with PHP8. (I'd do it, but I don't have edit privs on the wiki.)
> Just modified it, thanks for mentioning it.
>
Since the changes are now also in V31, I have changed the warning to a
note to reflect this.

Scott
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org