[mythtv-users] Mythweb no longer working: "fatal error"

Michael T. Dean mtdean at thirdcontact.com
Mon Nov 10 03:14:08 UTC 2014


On 11/08/2014 06:37 PM, Fred Hamilton wrote:
> When I go to mythweb in my browser, the page displayed says:
>
> "Fatal error: Call to a member function query_col() on a non-object in 
> /usr/share/mythtv/mythweb/modules/backend_log/init.php on line 15"
>
> LInes 14 and 15 are:
> // Check to see if database logging has been enabled
>     $enabled = $db->query_col('SELECT SUM(data) FROM settings WHERE 
> value="LogEnabled"');
>
> Is it a database thing?  A permission thing?
>
> It might be related to this:  I was troubleshooting pulseaudio and did 
> a dumb thing: I deleted everything in /var/log.  That caused a problem 
> with apache2 (it won't launch unless a /var/log/apache2 directory 
> exists).  I added the directory back and now apache runs.  But I get 
> this error message - not sure where to look next...

This is what you get when you don't properly specify the database 
location and/or connection parameters (user/password).  Fix your Apache 
MythWeb configuration.

Mike


More information about the mythtv-users mailing list