You are not logged in.
I have MythTv set up and I can use the front end no problem, so I know that it's up and running. Following the guides, I installed Apache and PHP and they both seem to be working as well. However, when I try to use MythWeb, I get a bunch of errors when I go to the page. It looks like it's having trouble connecting to the database, but I can log in manually to the database using the default mythtv user and password. I get a bunch of these:
Warning at /var/lib/mythtv/mythweb/classes/UPnP/Client.php, line 51:
!!NoTrans: Invalid argument supplied for foreach()!!Followed by this at the end of the page:
Fatal error: Uncaught Error: Call to a member function query_col() on null in /var/lib/mythtv/mythweb/modules/backend_log/init.php:15 Stack trace: #0 /var/lib/mythtv/mythweb/classes/Modules.php(30): require_once() #1 /var/lib/mythtv/mythweb/classes/Modules.php(50): Modules::load() #2 /var/lib/mythtv/mythweb/modules/_shared/tmpl/default/header.php(134): Modules::getModule('tv') #3 /var/lib/mythtv/mythweb/modules/_shared/tmpl/_errors/error.php(19): include('/var/lib/mythtv...') #4 /var/lib/mythtv/mythweb/includes/errordisplay.php(198): require_once('/var/lib/mythtv...') #5 /var/lib/mythtv/mythweb/includes/database.php(58): custom_error('UPnP Database D...') #6 /var/lib/mythtv/mythweb/includes/init.php(43): require_once('/var/lib/mythtv...') #7 /var/lib/mythtv/mythweb/mythweb.php(20): require_once('/var/lib/mythtv...') #8 {main} thrown in /var/lib/mythtv/mythweb/modules/backend_log/init.php on line 15Note that I'm not connecting to the page on the machine I'm setting this up on. I'm at work (supposed to be working) so I have an ssh session to my server, and I'm remoting into another machine on my network (vnc isn't set up on my server yet) and browsing to http://<server ip>/mythweb. I can access the test page I created during the php setup no problem.
EDIT: Stupid error on my part. I forgot to uncomment the db connection stuff in mythweb.conf
Last edited by Cain05 (2016-09-09 13:47:08)
Offline