[mythtv-users] mythtv-users Digest, Vol 129, Issue 10

Phil Ayre phil.ayre at googlemail.com
Thu Dec 5 22:11:53 UTC 2013


Doug

I have again tried to reinstall mythweb.  Now my mythweb homepage is blank,
and when I try to navigate to localhost/mythweb/tv the same error appears
still.

The /var/log/apache2/error.log shows

[Thu Dec 05 21:32:01 2013] [error] PHP Fatal error:  Class 'MythBase' not
found in /var/www/mythweb/classes/Translate.php on line 16
[Thu Dec 05 21:32:34 2013] [error] [client 192.168.1.79] File does not
exist: /var/www/mythweb/mythweb.php/tv
[Thu Dec 05 21:32:43 2013] [error] [client 192.168.1.79] File does not
exist: /var/www/mythweb/mythweb.php/tv/list

I have studied the /var/www/mythweb/mythweb.php file and it seems to be
pointing to:

// Path to the MythTV bindings that are now installed by the MythTV package
    ini_set('include_path',
'/usr/local/share/mythtv/bindings/php/'.PATH_SEPARATOR.'/usr/share/mythtv/bi
ndings/php/'.PATH_SEPARATOR.ini_get('include_path'));

the contents of my /usr/share/mythtv/ file is:

phil at hostserver:/var/www/mythweb$ ls -al /usr/share/mythtv/
total 256
drwxr-xr-x  12 root root  4096 Dec  5 19:31 .
drwxr-xr-x 263 root root 12288 Nov 13 11:52 ..
drwxr-xr-x   2 root root  4096 Dec  1 15:05 backend-config
-rw-r--r--   1 root root  7708 Jul 22 03:48 CDS_scpd.xml
-rw-r--r--   1 root root  4852 Jul 22 03:48 CMGR_scpd.xml
-rw-r--r--   1 root root   514 Sep  1 00:08 config.xml
-rw-r--r--   1 root root  1741 Jul 22 03:48 devicemaster.xml
-rw-r--r--   1 root root   840 Jul 22 03:48 deviceslave.xml
-rwxr-xr-x   1 root root  4731 Dec  4 00:16 dialog_functions.sh
drwxr-xr-x   2 root root  4096 Dec  4 22:02 fonts
drwxr-xr-x   3 root root  4096 Dec  4 22:02 hardwareprofile
drwxr-xr-x  10 root root  4096 Dec  1 15:05 html
drwxr-xr-x   2 root root  4096 Dec  1 15:05 i18n
drwxr-xr-x   4 root root  4096 Dec  4 22:02 internetcontent
drwxr-xr-x   2 root root  4096 Dec  4 22:02 locales
drwxr-xr-x   4 root root  4096 Nov  5 22:18 metadata
-rw-r--r--   1 root root  1039 Jul 22 03:48 MFEXML_scpd.xml
-rw-r--r--   1 root root  2599 Jul 22 03:48 MSRR_scpd.xml
-rw-r--r--   1 root root 14781 Jul 22 03:48 MXML_scpd.xml
-rwxr-xr-x   1 root root 58871 Dec  4 00:09 mythconverg_backup.pl
-rwxr-xr-x   1 root root 68613 Dec  4 00:09 mythconverg_restore.pl
-rwxr-xr-x   1 root root  1895 Nov 30 00:19 mythfrontend.sh
-rwxr-xr-x   1 root root  1627 Nov 30 00:19 mythtv-setup.sh
-rw-r--r--   1 root root  1252 Jul 22 03:48 setup.xml
drwxr-xr-x   2 root root  4096 Dec  1 15:05 sql
drwxr-xr-x  14 root root  4096 Dec  4 22:02 themes

there is no bindings directory.  Does this look suspicious?

Thanks again
Phil

----------------------------------------------------------------------------
---

 
Message: 19
Date: Tue, 03 Dec 2013 19:47:51 -0500
From: Doug Lytle <support at drdos.info>
To: Discussion about MythTV <mythtv-users at mythtv.org>
Subject: Re: [mythtv-users] mythweb not working
Message-ID: <sig.1050b8e08a.529E7BB7.6050105 at drdos.info>
Content-Type: text/plain; charset=ISO-8859-1

Phil Ayre wrote:
>
> And I have setup my /etc/apache2/sites-enabled/mythweb.conf file using
> the instructions here:
> https://github.com/MythTV/mythweb/blob/master/INSTALL so it looks like
> this:
>

This goes into the /etc/apache2/conf.d directory

 
>
> # CHANGE THESE PATHS TO MATCH YOUR MYTHWEB INSTALLATION DIRECTORY! e.g.
>

My directives are:

    <Directory "/var/www/mythweb/data">
        Options -All +FollowSymLinks +IncludesNoExec
        Order allow,deny
        Allow from 192.168
    </Directory>
    <Directory "/var/www/mythweb" >
        Order allow,deny
        Allow from 192.168
     

Doug




More information about the mythtv-users mailing list