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

Fred Hamilton fred at yonkitime.com
Sat Nov 8 23:37:49 UTC 2014


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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20141108/77e51102/attachment.html>


More information about the mythtv-users mailing list