Opened 2 years ago

Closed 7 months ago

#13308 closed Bug Report - General (Fixed)

Troubleshooting errors

Reported by: goldie83 Owned by: Stuart Auchterlonie
Priority: minor Milestone: 31.0
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 (2)

comment:1 Changed 2 years ago by goldie83

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

comment:2 Changed 7 months ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Resolution: Fixed
Status: newclosed

This should now be fixed

Note: See TracTickets for help on using tickets.