Opened 16 months ago

Last modified 16 months ago

#13308 new Bug Report - General

Troubleshooting errors

Reported by: goldie83 Owned by: Stuart Auchterlonie
Priority: minor Milestone: needs_triage
Component: Plugin - MythWeb Version: v29-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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:

// Load the generic utilities so we have access to stuff like DEBUG()
    require_once 'includes/utils.php';  }}}

was:

// 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... ;)

Change History (1)

comment:1 Changed 16 months ago by goldie83

It is of course a fresh install on ubuntu using https://www.mythtv.org/wiki/Installing_MythTV_on_Debian

Note: See TracTickets for help on using tickets.