-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to 22.04 from 20.04 breaks mythweb #85
Comments
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.
This was not an issue before recently updating. I am running 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. |
What other issues did you have with that change? |
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. |
I think those are probably errors you're seeing after it's able to run by making this change.From memory you'll want php-mysqli installed and possibly enabled if it doesn't automatically. There will be stuff on the internet about getting that going I think.Php-mysql and mysqli are different and the first one is deprecated I think but you needed to install the replacement yourself.Suggest making the change to that file then working on those other errors.Sent from my Galaxy
-------- Original message --------From: waltonbruce ***@***.***> Date: 7/1/23 4:08 pm (GMT+10:00) To: MythTV/mythweb ***@***.***> Cc: zyeborm ***@***.***>, State change ***@***.***> Subject: Re: [MythTV/mythweb] upgrade to 22.04 from 20.04 breaks mythweb (Issue #85)
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.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
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 |
Interesting I'll see about checking that laterSent from my Galaxy
-------- Original message --------From: waltonbruce ***@***.***> Date: 11/1/23 4:52 am (GMT+10:00) To: MythTV/mythweb ***@***.***> Cc: zyeborm ***@***.***>, State change ***@***.***> Subject: Re: [MythTV/mythweb] upgrade to 22.04 from 20.04 breaks mythweb (Issue #85)
So I finally fixed this by removing and installing package 'php-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
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
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.
|
Not sure exactly what is wrong and I've almost certainly "fixed" it badly....but.
After doing the release upgrade I was getting this when attempting to access mythweb on the mother in laws PC.
It looks like it's running the class_autoload before it has run the defines that well define modules_path.
My "fix" for it was to edit /usr/share/mythtv/mythweb/includes/init.php
At the start of the file is
I changed this to
and it seems to work.
I'm putting this here rather than a pull in hopes google finds it and hence others do too if they need it. Also I'm at my mother in laws place over xmas and getting all that chooching would be a giant pain. Sorry to whomever picks this one up.
The text was updated successfully, but these errors were encountered: