Ticket #7557 (closed defect: invalid)
Opened 2 years ago
Last modified 2 years ago
New Mythweb won't go past masterserverip error
| Reported by: | noah.swint@… | Owned by: | kormoc |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | Plugin - MythWeb | Version: | 0.22 |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | yes |
Description
I can't access mythweb any more due to the MasterserverIP error http://192.168.2.5/mythweb/
select * from settings where value like 'MasterS%' order by value; +------------------+-------------+----------+ | value | data | hostname | +------------------+-------------+----------+ | MasterServerIP | 192.168.2.5 | NULL | | MasterServerPort? | 6543 | NULL | +------------------+-------------+----------+
datetime: 2009-11-12 19:18:58 (EST) errornum: 256
error type: User Error
error string: MasterServerIP or MasterServerPort? not found! You mayneed to check your settings.php file or re-run mythtv-setup
filename: /var/www/html/mythweb/classes/MythBackend.php
error line: 45
==========================================================================
Backtrace:
file: /var/www/html/mythweb/classes/MythBackend.php line: 45
class:
function: trigger_error
type: args: Array
(
[0] => MasterServerIP or MasterServerPort? not found! You mayneed to check your settings.php file or re-run mythtv-setup [1] => 256
)
file: /var/www/html/mythweb/includes/init.php line: 72
class: MythBackend?
function: find
- type:
- args: Array ( ) file: /var/www/html/mythweb/mythweb.php line: 20 class:
type: args: Array
(
[0] => /var/www/html/mythweb/includes/init.php
)
Attachments
Change History
comment:1 Changed 2 years ago by Dibblah
- Status changed from new to closed
- Resolution set to invalid
comment:2 Changed 2 years ago by anonymous
rpm -qa mythweb mythweb-0.22-220.fc11.i586
comment:3 Changed 2 years ago by Rik van Mierlo <rik@…>
I have the same problem, using Fedora 10, mythtv from atrpms, version 0.22-223
Somehow, the setting function does not work or is not called correctly from MythBackend?.php. Changing "setting" to "get_backend_setting" at least gets you into mythweb.
This is probably not the correct way to fix this (I'm not a programmer). If the configuration is done by file(?), than some file that was not required in 0.21 probably now is or should contain something that was previously not needed.
diff for MythBackend?.php:
40,41c40,41
< $host = get_backend_setting('MasterServerIP');
< $port = get_backend_setting('MasterServerPort');
---
> $host = setting('MasterServerIP');
> $port = setting('MasterServerPort');
Regards,
Rik

The configuration of Mythweb is done through configuration files, not the database. The version of Mythweb you are running is also not 0.22.