mythweb

Alan Hicks ahicks at p-o.co.uk
Tue Jun 19 06:24:34 UTC 2012


On 19/06/2012 03:00, Jason Wohlford wrote:
> I've been struggling with mythweb for a bit. It was working; now it's not. It's been that way for at least a month. Can't tell if this is something I induced or if it's a bug. Help me out, folks.
>
> The error in the browser I'm getting is:
>
>    Fatal error: Class 'MythBase' not found in /s/usr-local/www/mythweb/classes/Translate.php on line 16
>
> I look for a MythBase, but only find pointers.
>
>    [root at mythtv /usr/local/www/mythweb]# grep -Ri MythBase .
>    ./classes/Translate.php:class Translate extends MythBase {
>    ./modules/tv/classes/Channel.php:class Channel extends MythBase {
>    ./modules/tv/classes/Program.php:class Program extends MythBase {
>    ./modules/tv/classes/Schedule.php:class Schedule extends MythBase {
>    grep: ./data/video_covers: No such file or directory
>    grep: ./data/video: No such file or directory
>    [root at mythtv /usr/local/www/mythweb]#
>
> Googling to the error leads me to a page that mentions bindings, but I couldn't find any such files even with a comprehensive 'find / -name bindings'.
>
> Compiling Common Binaries For Multiple Frontends
> <http://www.mythtv.org/wiki/Compiling_Common_Binaries_For_Multiple_Frontends>
>
> Suggestions?

You are probably missing the bindings from multimedia/mythtv
/usr/local/share/mythtv/bindings/php/MythBase.php

The port may need to be patched as bindings appear to be always off, 
alas not had time to offer patch for pkg-plist.

Alan

>
> Cheers,
> Jason
>

-------------- next part --------------
--- Makefile.orig	2012-06-19 06:45:02.000000000 +0100
+++ Makefile	2012-06-19 06:46:17.000000000 +0100
@@ -79,7 +79,6 @@
 RUN_DEPENDS+=	py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
 		${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
 		${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber
-CONFIGURE_ARGS+=--without-bindings=perl,php
 PLIST_SUB+=	BINDINGS=""
 .else
 CONFIGURE_ARGS+=--without-bindings=perl,python,php


More information about the freebsd-multimedia mailing list