[mythtv-commits] Ticket #13308: Troubleshooting errors
MythTV
noreply at mythtv.org
Sun Aug 12 18:25:25 UTC 2018
#13308: Troubleshooting errors
--------------------------------------+---------------------------------
Reporter: goldie83 | Owner: Stuart Auchterlonie
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Plugin - MythWeb | Version: v29-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+---------------------------------
Hi,
I had hard time to get the correct error message from the mythweb plugin.
It started with:
{{{
Fatal error: Call to undefined function t() in
/usr/share/mythtv/mythweb/modules/database/init.php on line 10
}}}
Google search indicated that the database connection is broken/wrong
configured:
http://lists.mythtv.org/pipermail/mythtv-users/2010-May/287934.html
After I rearranged /includes/init.php, so that just after:
{{{#!php
// Load the generic utilities so we have access to stuff like DEBUG()
require_once 'includes/utils.php'; }}}
}}}
was:
{{{#!php
// Load the translation routines so the modules can translate their
descriptions
require_once 'includes/translate.php';
// Include a few useful functions
require_once 'includes/css.php';
require_once 'includes/mouseovers.php';
}}}
I could see the correct error:
{{{
Unable to connect to the master backend at 192.168....
}}}
I had nothing to do with the database connection of course... ;)
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13308>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list