[mythtv-commits] Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade

MythTV mythtv at cvs.mythtv.org
Tue Dec 22 15:23:12 UTC 2009


#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
 Reporter:  pet@…             |       Owner:  kormoc        
     Type:  defect            |      Status:  infoneeded_new
 Priority:  minor             |   Milestone:  unknown       
Component:  Plugin - MythWeb  |     Version:  0.22-fixes    
 Severity:  medium            |     Mlocked:  0             
------------------------------+---------------------------------------------

Comment(by anonymous):

 Replying to [comment:17 jtumblin]:
 > If everything is configured correctly then it is not Mythweb's problem.
 You are not getting a connection to the database. Can you post a Tail of
 the http error log that shows the steps where Mythweb fails?

 Yes I know the problem is the database connection as stated above:

 --- clip ---

 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

 --- clip ---

 So the mytbackend itself works properly. Another PC configured as a
 standalone mythfrontend gets the connection to backend properly. As soon
 as the hardcoded entries above are used, also mythweb can access the
 system properly. It just does not read correct values from the
 configuration files.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:22>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list