﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
8422	.tmpl. not resolving correct path	iskimj@…	Rob Smith	"I just upgraded to Ubuntu 10.04 with the repository mythweb package 0.23+fixes

When I try to browse to the mythweb page, I get this error:

Warning at /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php, line 23:
require(modules/_shared/tmpl/tmpl/header.php): failed to open stream: No such file or directory

The error reports the path/file _shared/tmpl/tmpl/header.php which doesn't exist. There is a header.php located in _shared/tmpl/default/

Looking at db_vars_error.php, it appears that this line isn't resolving correctly:
    require 'modules/_shared/tmpl/'.tmpl.'/header.php';
If I hard code my path:
    require 'modules/_shared/tmpl/default/header.php';
I get past that error but the page which loads isn't very good. It's a simple box with a link ""MythTV"" which is a link to the homepage (current page) and that's the only thing on the page.

Is "".tmpl."" in other files and causing a similar problem but not generating an error?"	defect	closed	minor	unknown	Plugin - MythWeb	Unspecified	medium	duplicate			0
