[mythtv-users] MythWeb on a different box
David A. Mason
damason at redshift.com
Mon Jul 7 18:27:50 EDT 2003
I only made one change - I promise! Then I changed it back.
I got past that most recent error by removing the line I had added (to get
around it), trying to set the $backendhostname variable in settings.php.
Instead, I set that value in the settings table to the mythbackend IP
address rather than loopback.
It's improved, but I'm seeing this, now, on the "Recorded Programs" page:
Warning: Invalid argument supplied for foreach() in
/var/www/html/mythtv/recorded.php on line 79
Referring to this context:
// Get total recording time
$total_length = 0;
foreach($prog_length as $t => $v) {
$total_length = $total_length + $prog_length[$t];
}
Bug report?
DAM
-----Original Message-----
From: David A. Mason [mailto:damason at redshift.com]
Sent: Monday, July 07, 2003 5:18 PM
To: 'Discussion about mythtv'
Subject: RE: [mythtv-users] MythWeb on a different box
OK, I spotted the IP and hostname in the settings table, but I'm getting
this when I hit "recorded programs" on the web interface:
MasterServerIP or MasterServerPort not found! You man need to check your
settings.php file or re-run setup mythtv's setup
Unable to connect to mythbackend, is it running?
The ports are listening, and the correct IP is now set in the settings
table, but this error persists.
DAM
-----Original Message-----
From: mythtv-users-bounces at snowman.net
[mailto:mythtv-users-bounces at snowman.net] On Behalf Of David A. Mason
Sent: Monday, July 07, 2003 4:47 PM
To: 'Discussion about mythtv'
Subject: RE: [mythtv-users] MythWeb on a different box
So the recording commands are all kept in the database? Cool.
Just to be clear: below, when you refer to the "backend," you only mean the
database backend and not the machine running mythbackend, right?
If all this is so, I guess when I get home I'm going to find another
malfunction, because the .nup files aren't appearing from the tests I
scheduled from the office. Oh, well.
Thanks,
DAM
-----Original Message-----
From: mythtv-users-bounces at snowman.net
[mailto:mythtv-users-bounces at snowman.net] On Behalf Of Cedar
Sent: Monday, July 07, 2003 4:31 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] MythWeb on a different box
David A. Mason wrote:
>I've got Myth using a different server for MySQL data, which seems to
>be working just fine.
>
>I wondered if mythweb needs anything apart from access to the database
>server? I'd like to make it just a directory on my webserver, instead
>of having to kludge some kind of proxy to provide access to the PC
>running mythbackend.
>
>
>
works fine on a different machine as long as it can see the backend.
Just edit settings.php apropriately. Here is the section you have to
modify.
//
// How to access the database
//
$db_host = "localhost";
$db_username = "mythtv";
$db_password = "mythtv";
$db_dbname = "mythconverg";
Also make sure that in the mythtv setup you supply the real backend ip
address rather than "localhost" or 127.0.0.1
best,
Cedar
_______________________________________________
mythtv-users mailing list
mythtv-users at snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users at snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list