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

Mark Perkins perkins1724 at hotmail.com
Sat Nov 8 23:50:44 UTC 2014



> On 9 Nov 2014, at 10:08 am, "Fred Hamilton" <fred at yonkitime.com> 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"');
> 

Just a stab in the dark. Is it looking for /var/log/mythtv which is now missing?

> 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...
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list