[mythtv-users] Need help with mythweb from SVN

Michael Lynch lynchmv at gmail.com
Sat Sep 12 22:57:15 UTC 2009


I had almost the exact same error with svn mythweb the other day.

My apache directory is:
/var/www

There is a symlink at:
/srv/httpd
pointing to /var/www

The httpd.conf file uses /srv/httpd/htdocs as the DocumentRoot and my
mythweb.conf was using /var/www/htdocs as the <Directory> definitions.
 Mythweb didn't work and behaved like you stated, with an error, until
I changed mythweb.conf to use /srv/httpd/docs for the <Directory>
definitions.



On Sat, Sep 12, 2009 at 3:58 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 09/12/2009 02:08 PM, Matt W wrote:
>>
>> trying to join this post to a previous thread via the Subject:
>> line..not sure if it will work (thread:
>> http://www.gossamer-threads.com/lists/mythtv/users/395852 )
>>
>> I too am having this issue on the latest mythweb SVN.  I deleted the
>> entire mythweb directory under trunk/mythplugins, then ran svn update.
>>  I copied the tree to my web docroot and made sure all the modules
>> were working.  I'm not using a subdirectory right now so it's all
>> under /var/www (Debian) thus I don't think I'm having an Apache
>> rewrite or alias issue.
>>
>> I turned on 'E_ALL' logging from php but I don't get anything more in
>> the log than what shows up on the browser:
>>
>> [12-Sep-2009 00:55:18] PHP Fatal error:  Call to undefined function
>> t() in /var/www/modules/_shared/tmpl/_errors/error.php on line 17
>>
>>
>> Unfortunately my PHP knowledge is practically non-existent so I don't
>> know where to even start with this.  Any troubleshooting hints would
>> be greatly appreciated.  thanks!
>>
>
> 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');
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>


More information about the mythtv-users mailing list