[mythtv-users] mythweb error after 0.22 upgrade (gentoo + lighttpd)

sonofzev at iinet.net.au sonofzev at iinet.net.au
Fri Apr 9 00:15:37 UTC 2010

>>> The message I am getting is;
>>> Fatal error: Call to a member function query_col() on a non-object
>>> in /var/www/localhost/htdocs/mythweb/modules/backend_log/init.php  on
>>> line 19

>>> So far I have followed instructions to;
>>> * copied the _shared/tmpl/default folder to _shared/tmpl/tmpl
>>> * Make sure the mythtv.conf file is correct
>>> * restored mythweather so that it is now working again
>>> * ensured permissions are all correct on the files
>>> * even re-installed mythgame (which I used once a few years ago)

>>> Is there something else I should look at?
>> http://svn.mythtv.org/trac/ticket/7146 , which turns out to be 
>> http://svn.mythtv.org/trac/ticket/8158 (just added the updated ref to 
>> #7146, so if you had seen the ticket before but missed the ref, don't 
>> feel like you missed something obvious--it wasn't there before).
>Oh, and even though #8158 isn't yet fixed, that doesn't mean you have to 
>wait to use MythWeb.  #8158 only occurs if your MythWeb configuration is 
>totally broken--i.e. MythWeb can't find/log in to/read data from the 
>mythconverg database.
>mythtv-users mailing list
>mythtv-users at mythtv.org

Thanks Mike, 

I actually got past 7146 with my little manual directory copy (not very elegant,
I know). That was one of the first issues I was having. I don't appear to be
having the same issues as 8158. 

The problem I am having has been listed by everyone else as a problem with the 
mythweather module (which I was able to fix by dropping the tables and removing
the reference to the mythweb schema version - thanks to  someone elses kind post
online). Although I haven't configured mythweather I am not seeing any errors
anymore and all options appear to be available (I believe this was broken by an
upgrade to MySQL that I performed a while ago as it was complaining about syntax). 

Given the text of the error "Call to a member function query_col() on a
non-object" and anecdotally as other people have got around this by fixing
mythweather. I am wondering how I can find out what that "non-object" might be
which will then lead me to a solution. 



More information about the mythtv-users mailing list