Mailing List Archive

Mythweb errors on new build
Just finished building an new box with Ubuntu-Mate-22.04, installed
latest mythtv (frontend/backend - fixes/32 (v32.0+fixes)), and migrated
mythconverg from an Ubuntu-Mate-20.04 box.  Everything went pretty well,
except a couple of items.

After installing mythweb, I discovered that php wasn't installed, so
installed it, but getting this error.

*Fatal error*: Uncaught Error: Undefined constant "modules_path" in
/usr/share/mythtv/mythweb/includes/class_autoload.php:19 Stack trace: #0
/usr/share/mythtv/mythweb/classes/Translate.php(16): autoload() #1
/usr/share/mythtv/mythweb/includes/class_autoload.php(18):
include_once('...') #2 [internal function]: autoload() #3
/usr/share/mythtv/mythweb/includes/errors.php(116): class_exists() #4
[internal function]: error_handler() #5
/usr/share/mythtv/mythweb/includes/php_version_check.php(20):
trigger_error() #6 /usr/share/mythtv/mythweb/includes/init.php(33):
require_once('...') #7 /usr/share/mythtv/mythweb/mythweb.php(20):
require_once('...') #8 {main} thrown
in*/usr/share/mythtv/mythweb/includes/class_autoload.php*on line*19*

Using Stephen's guidance from an earlier thread:

sudo apt list --installed | grep -i php
libapache2-mod-php8.1/jammy-updates,now 8.1.2-1ubuntu2.9 amd64
[installed,upgradable to: 8.1.14-1+ubuntu22.04.1+deb.sury.org+1]
....and several similar lines.

sudo a2query -m | grep -i php
php8.1 (enabled by maintainer script)


It looks like I have the correct versions, what else should I look for?

Don


--
This email has been checked for viruses by Avast antivirus software.
www.avast.com