[mythtv-users] mythweb troubles

Jeff jffry at posteo.net
Fri May 25 14:36:43 UTC 2018


Hallo all,

Mythweb has not worked for me since upgrading from 0.27->0.28, and
0.28->29 did not help.

/var/log/apache2/error.log shows the following error:

PHP Fatal error:  Uncaught Error: Call to undefined function t() in
/usr/share/mythtv/mythweb/modules/_shared/tmpl/default/footer.php:21
Stack trace:
#0 /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php(43):
require()
#1 /usr/share/mythtv/mythweb/includes/errors.php(128):
require_once('/usr/share/myth...')
#2 [internal function]: error_handler(256, '!!NoTrans: SQL ...',
'/usr/share/myth...', 98, Array)
#3
/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(98):
trigger_error('SQL Error: No d...', 256)
#4 /usr/share/mythtv/mythweb/classes/Database.php(263):
Database_Query_mysqlicompat->execute(Array)
#5 /usr/share/mythtv/mythweb/classes/Database.php(326):
Database->query('SELECT data\\n   ...', Array)
#6 /usr/share/mythtv/mythweb/includes/utils.php(64):
Database->query_col('SELECT data\\n   ...', 'recommend_enabl...')
#7
/usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php(95):
setting('recommend_enabl...', NULL)
#8 /usr/share/mythtv/mythweb/modules/_shared/tmpl/tmpl/header.php(16):
requi in
/usr/share/mythtv/mythweb/modules/_shared/tmpl/default/footer.php on line 21

grepping /usr/share/mythtv/mythweb shows

/usr/share/mythtv/mythweb/includes/translate.php:    function t($string)

So why is /usr/share/mythtv/mythweb/includes/translate.php not being
included?

Regards

Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180525/f2a304bc/attachment.sig>


More information about the mythtv-users mailing list