Comments (7)
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.
What other issues did you have with that change?
from mythweb.
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.
from mythweb.
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.
from mythweb.
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)
- stream_raw: "isn't numeric" error
- Reference configuration for caddy2 server
- Typo in js/table_sort.js
- Accessing any recording schedule with lite template results in warning
- Listing recording schedules with lite template shows recording templates
- The tv/schedules page does not support table header sorting
- Error thrown when trying to create new recording schedule in tv/detail/ HOT 4
- Add support for PHP 8.x HOT 2
- Fix missing definition check for theme_timeslot_size
- Very small typo in js/table_sort.js
- Fix construction of ffmpeg path on Darwin
- Update required for mythweb_id cookie (SameSite attribute)
- Correct paths to apple-touch-icons
- Better handling of tmpl constant in utils.php HOT 1
- mythweb not working with master backend on IPV6
- Unable to open mythweb if mythmusic has never been used HOT 2
- RFE: Display people in priority order when displaying program details
- Security Vulnerability found in MythTV HOT 1
- Mythweb still uses the setting 'MasterServerIP' albeit obsolete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mythweb.