﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
13308	Troubleshooting errors	goldie83	Stuart Auchterlonie	"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... ;)"	Bug Report - General	closed	minor	31.0	Plugin - MythWeb	v29-fixes	medium	Fixed			0
