[mythtv-commits] Ticket #8422: .tmpl. not resolving correct path

MythTV mythtv at cvs.mythtv.org
Wed May 5 16:10:02 UTC 2010

#8422: .tmpl. not resolving correct path
 Reporter:  iskimj@…          |       Owner:  kormoc     
     Type:  defect            |      Status:  new        
 Priority:  minor             |   Milestone:  unknown    
Component:  Plugin - MythWeb  |     Version:  Unspecified
 Severity:  medium            |     Mlocked:  0          
 I just upgraded to Ubuntu 10.04 with the repository mythweb package

 When I try to browse to the mythweb page, I get this error:

 Warning at
 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
     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?

Ticket URL: <http://svn.mythtv.org/trac/ticket/8422>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list