<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 15, 2016 at 4:59 PM, Patrick Kirchner <span dir="ltr"><<a href="mailto:kirchnerpalk@gmail.com" target="_blank">kirchnerpalk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On Fri, May 13, 2016 at 11:13 PM, Patrick Kirchner <span dir="ltr"><<a href="mailto:kirchnerpalk@gmail.com" target="_blank">kirchnerpalk@gmail.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><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 class="gmail_extra"><div class="gmail_quote"><span class="">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></span><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"><span class="">
    <div>On 5/13/2016 8:47 PM, Patrick Kirchner
      wrote:<br>
    </div>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 type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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><div dir="ltr"><div>
                  <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>
                  --Dave<br>
                
              </div></div></blockquote>
            <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>
            </div>
            <div>Thanks,<br>
            </div>
            <div>Patrick.<br>
            </div>
            
          </div>
        </div>
      </div>
      

    </blockquote>
    </span><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><span class="">
    <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><font color="#888888"><br>
      Justin<br>
    </font></span></p></span></div></blockquote><span class=""><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" target="_blank">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></span></div></div></div>
</blockquote></div><br>I finally figured it out.  I had to add the mysqli use flag to php (/etc/portage/package.use/php) then it mythweb worked fine.  Maybe that use flag for php should be included in the ebuild package for mythweb?<br></div></div>
<br><br></blockquote></div><br></div><div class="gmail_extra">So what's the verdict on needed/unneeded flags?  Is this going to be unmasked soon?</div></div>