Description of problem: Mythtv-mythweb appears to be broken after upgrade to php8.0.0 Version-Release number of selected component (if applicable): 31.0-3 How reproducible: Always, presuming php 8.0.0 is installed, mythweb worked with 7.4.13. Steps to Reproduce: 1. Install and configure mythtv-backend. 2. Install mythtv-mythweb. 3. Connect to mythweb. When a connection is made this is what appears: Fatal error: Uncaught Error: Undefined constant "ASSERT_QUIET_EVAL" in /var/www/mythweb/includes/errors.php:50 Stack trace: #0 /var/www/mythweb/includes/init.php(21): require_once() #1 /var/www/mythweb/mythweb.php(20): require_once('/var/www/mythwe...') #2 {main} thrown in /var/www/mythweb/includes/errors.php on line 50 I don't know is this is a Mageia problem, and I suspect it isn't but I haven't found any other sources for a fix.
Looks related to https://bugs.php.net/bug.php?id=75769&edit=3 I expect the fix will be to remove the assert call.
CC: (none) => davidwhodgins
I thought that too but this call has been deprecated: https://www.php.net/manual/en/function.assert.php so when I take it out, I then get this: Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/mythweb/includes/cleanup.php:50 Stack trace: #0 /var/www/mythweb/includes/init.php(30): require_once() #1 /var/www/mythweb/mythweb.php(20): require_once('/var/www/mythwe...') #2 {main} thrown in /var/www/mythweb/includes/cleanup.php on line 50 Which makes me thing that the MythTV guys need to get mythweb up to snuff for php 8.0.0 and that this is absolutely NOT a Mageia bug. I know next to nothing about php beyond that it is rapidly evolving and not something with backwards compatibility in mind. I've chased this down a bit but the mythweb boffins need to do some things to get caught up to php 8.0.0.
Thank you Alan for the report & research (also DaveH). From the previous comment, it looks like an upstream bug. Can you raise one chez MythTV, please: https://code.mythtv.org/trac/wiki/TicketHowTo and when you have a bug reference, put its URL in the header URL field of *this* bug. And when it gets answered, say so here. They might say it is a Mageia problem after all... I could find no bug at MythTV about "php 8".
Keywords: (none) => UPSTREAMCC: (none) => lewyssmith
This is a MythTV issue, not a Mageia problem.
Resolution: (none) => INVALIDStatus: NEW => RESOLVED