[mythtv-users] Need help with mythweb from SVN

Matt W mwood23 at gmail.com
Sun Sep 13 04:24:44 UTC 2009


On Sat, Sep 12, 2009 at 12:58 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> Does the attached patch help?
>
> Mike
>
> Index: modules/_shared/tmpl/_errors/error.php
> ===================================================================
> --- modules/_shared/tmpl/_errors/error.php      (revision 21781)
> +++ modules/_shared/tmpl/_errors/error.php      (working copy)
> @@ -13,6 +13,8 @@
>  *
>  /**/
>
> +include_once 'includes/translate.php';
> +
>  // Set the desired page title
>     $page_title = 'MythWeb - '.t('Error');

Hi Mike--

thanks for having a go at this.  Unfortunately, no.  My guess is
somewhere the php include_path is running afoul of Apache rewrite or
vice-versa.  I tried moving things under .../mythweb like so many
others do, and updating my apache conf file (mythweb provided one) but
all I see to get are variations on this:

Warning at /var/www/mythweb/modules/_shared/tmpl/_errors/error.php, line 25:
require(modules/_shared/tmpl/tmpl/header.php) [function.require]:
failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required
'modules/_shared/tmpl/tmpl/header.php'
(include_path='/www/var/mythweb/includes:.:/usr/share/php:/var/www/mythweb:/var/www/mythweb/includes')
in /var/www/mythweb/modules/_shared/tmpl/_errors/error.php on line 25

The longer include path is from my entries of all the include paths in
php.ini that I could think of.  The part that says "/www/var/..." is
weird since I just checked to see if I did a typo and I did not.  and
I have no idea where "tmpl/tmpl" comes from.  Rewrite working its
mojo, I figure.  Or things referencing each other in a bad way.

There must be some basic configuration error I have, or more exactly,
lack of configuration.

Re: what Michael posted, I have no /srv/httpd at all.
But I do appreciate the input, guys!


More information about the mythtv-users mailing list