[mythtv-commits] Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
MythTV
mythtv at cvs.mythtv.org
Fri Dec 11 23:30:07 UTC 2009
#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Comment(by t1ger):
Replying to [comment:9 anonymous]:
> Replying to [comment:8 gwhodgson@…]:
> > I have more details about this problem in this thread:
> >
> > http://ubuntuforums.org/showthread.php?t=1342624
>
> This is how I got it (partially) working:
>
> - modified the classes/MythBackend.php so that instead of assigning
$host and $port through setting(), they are directly set to ip-address and
port number
>
> - modified modules/status/handler.php and hardcoded $masterhost and
$statusport to localhost and 6544
>
> Would someone please explain from which files the values above are
supposedly taken from and provide an example content of the files?
>
> My config.xml and mysql.txt in $HOME/.mythtv directory are links to the
files in /etc/mythtv -directory having correct values for the relevant
fields.
>
> /etc/apache2/sites-enabled/mythweb.conf also has the correct db name,
server, login, and password values
Thanks man!
Here how I modified.
{{{
...
// Looking for the master backend?
if (is_null($host)) {
$host = 'localhost';
$port = '6543';
....
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list