GithubHelp home page GithubHelp logo

Comments (7)

waltonbruce avatar waltonbruce commented on August 15, 2024

A new apt upgrade to fixes/32 on ubuntu-22.04 (jammy) now breaks mythweb, for installations where it had been working previously. The error is the same.

[Fri Jan 06 09:42:34.347807 2023] [php:error] [pid 1341] [client 192.168.88.20:39004] PHP Fatal error: Uncaught Error: Undefined constant "modules_path" in /usr/share/mythtv/mythweb/includes/class_autoload.php:19\nStack trace:\n#0 /usr/share/mythtv/mythweb/classes/Translate.php(16): autoload()\n#1 /usr/share/mythtv/mythweb/includes/class_autoload.php(18): include_once('...')\n#2 [internal function]: autoload()\n#3 /usr/share/mythtv/mythweb/includes/errors.php(116): class_exists()\n#4 [internal function]: error_handler()\n#5 /usr/share/mythtv/mythweb/includes/php_version_check.php(20): trigger_error()\n#6 /usr/share/mythtv/mythweb/includes/init.php(33): require_once('...')\n#7 /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...')\n#8 {main}\n thrown in /usr/share/mythtv/mythweb/includes/class_autoload.php on line 19, referer: http://pvr.local/mythweb/tv/upcoming

This was not an issue before recently updating. I am running
mythweb/jammy,now 2:32.0+fixes.202301051905.e677dd354f~ubuntu22.04.1

This was working fine just the other day, anyone please help me figure out a fix? I'm not wise to the layers of PHP module loading. Looks like the default PHP on this box is 8.1.

Thanks to OP, but the mother-in-law patch seems to create other problems for me.

from mythweb.

zyeborm avatar zyeborm commented on August 15, 2024

What other issues did you have with that change?

from mythweb.

waltonbruce avatar waltonbruce commented on August 15, 2024

it intoduces an error in php_version_check, for some reason can't seem to find the mysql extension anymore (which is installed and was working until 1/5/2023 update).

Also throws an undefined function error in footer.php after that.

I've been trying to figure out what changed, I only did an apt upgrade with fixes/32 in my sources.list.
Packages php-mythtv and mythweb were both updated, but I haven't been able to figure out which files changed exactly if any.
Everything had been working fine previously.

from mythweb.

zyeborm avatar zyeborm commented on August 15, 2024

from mythweb.

waltonbruce avatar waltonbruce commented on August 15, 2024

So I finally fixed this by removing and installing package 'php8.1-mysql'. Some other upstream update must have disabled this PHP module. By reinstalling it I appear to have triggered other downstream post-install steps in apache2 modules etc. etc.

Not a bug for me anymore. I did not change any delivered mythweb PHP as above.

thanks

from mythweb.

zyeborm avatar zyeborm commented on August 15, 2024

from mythweb.

waltonbruce avatar waltonbruce commented on August 15, 2024

I neglected to point out clearly that on top of vanilla ubuntu 22.04 "jammy", during this episode I have had these repos in my apt sources list.

https://ppa.launchpadcontent.net/ondrej/php/ubuntu
https://ppa.launchpadcontent.net/mythbuntu/32/ubuntu

from mythweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.