[mythtv-users] mythweb blank page after upgrade

paul thannet at gmail.com
Fri Jan 16 19:46:40 UTC 2015


On 16/01/15 16:13, Michael T. Dean wrote:
> On 01/16/2015 09:33 AM, paul wrote:
>> Hi anyone else having this problem? Have this error in the apache log :-
>>
>> [Fri Jan 16 13:50:48.006480 2015] [:error] [pid 1240] [client 
>> 127.0.0.1:50263] PHP Fatal error:  Call to a member function 
>> query_col() on a non-object in 
>> /usr/share/mythtv/mythweb/includes/utils.php on line 59, referer: 
>> http://localhost/mythweb/
>
> Usually due to broken mythweb.conf , and specifically the database 
> connection information, or due to MySQL permissions problems (i.e. 
> such as not allowing database access from 127.0.0.1).
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I restored the original mythweb.conf file from prior to doing the last 
updates, and then tried it's true address :-

[Fri Jan 16 19:34:55.669296 2015] [:error] [pid 10637] [client 
10.0.0.10:42806] PHP Fatal error:  Call to a member function query_col() 
on a non-object in /usr/share/mythtv/mythweb/includes/utils.php on line 
59, referer: http://10.0.0.10/mythweb/

Which seems to point to this line in utils.php :-
$cache[$h][$field] = $db->query_col('SELECT data
                                                        FROM settings
                                                       WHERE value=? AND 
hostnam$
                                                     $field);

Mythstatus works fine, so does PHPmyadmin, and a few other things I have 
running on this Mythbuntu .27

Way above my knowledge level. Even went so far as to remove mythweb and 
reinstall via the mythbuntu control panel. Still the same issue?







More information about the mythtv-users mailing list