[mythtv-users] Mythweb error after upgrading to Ubuntu 21.10

glen glenb at glenb.net
Mon Dec 13 16:02:20 UTC 2021


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211213/43c2139a/attachment.htm>


More information about the mythtv-users mailing list