<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 13, 2016 at 11:02 PM, Justin Dunn <span dir="ltr"><<a href="mailto:list-mythtv-users@archive.jdunn.us" target="_blank">list-mythtv-users@archive.jdunn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 5/13/2016 8:47 PM, Patrick Kirchner
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, May 13, 2016 at 4:58 PM,
David Madsen <span dir="ltr"><<a href="mailto:david.madsen@gmail.com" target="_blank">david.madsen@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Since I'm using my own copy of the ebuild in a
portage overlay I just deleted the dependency lines
for dbus and udisks out of the ebuild (or
alternatively you can make sure the bluray and dvd USE
flags are disabled instead of removing udisks).<br>
<br>
From what I remember from an earlier discussion about
this in the list, I believe MythTV uses dbus to
monitor the optical drives in the machine which uses
the udisks package. I don't use MythTV for playing
optical disks so this works fine for me, but YMMV if
you play Bluray or DVDs via MythTV.<br>
<br>
</div>
<div>--Dave<br>
</div>
</div></blockquote><div><br>
</div>
<div>Everything seems to be working now execpt for MythWeb.
I get this error when I try accessing it via <a href="http://192.168.1.253:80/mythweb" target="_blank">http://192.168.1.253:80/mythweb</a><br>
<b>Fatal error</b>: Call to a member function query_col()
on null in <b>/var/www/localhost/htdocs/mythweb/modules/backend_log/init.php</b>
on line <b>15<br>
</b></div>
<div>I'm wondering if it has something to do with us
disabling mythlogserver in lieu of syslog? This is what
is on line 15 of init.php:<br>
// Check to see if database logging has been enabled<br>
$enabled = $db->query_col('SELECT SUM(data) FROM
settings WHERE value="LogEnabled"');<br>
</div>
<div>Any ideas would be greatly appreciated. I don't have a
front end machine right now and was hoping to be able to
just watch recorded shows through mythweb.<br>
<br>
</div>
<div>Thanks,<br>
</div>
<div>Patrick.<br>
</div>
<div> <br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
mythtv-users mailing list
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a>
</pre>
</blockquote>
<p>I have mythlogserver disabled and mythweb loads just fine for me
(Except for 'Backend Status' page coming up as 404 Not Found) so I
don't think that is it.</p>
<p>Also when you Google <a href="https://www.google.com/search?q=Call+to+a+member+function+query_col%28%29+on+null" target="_blank">Call
to a member function query_col() on null</a> you get many
results including a <a href="https://code.mythtv.org/trac/ticket/7146" target="_blank">mythTV Trac
Ticket</a> opened 7 years ago so it seems this issue happened to
many people.<span class=""><font color="#888888"><br>
Justin<br>
</font></span></p>
</div><br></blockquote><div><br></div><div>I noticed those super old Trac tickets too, but also I saw a few reports with the same error and 0.28 (albeit with a RaspberryPi and ngix).<br><br><a href="https://www.google.com/#tbs=qdr:y&q=Fatal+error+Call+to+a+member+function+query_col+on+null+in+init.php+on+line+-php7">https://www.google.com/#tbs=qdr:y&q=Fatal+error+Call+to+a+member+function+query_col+on+null+in+init.php+on+line+-php7</a><br> <br></div></div></div></div>