Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#8851 closed enhancement (Fixed)
mythweb failure message isn't helpful and is outdated
Reported by: | Owned by: | Rob Smith | |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | Plugin - MythWeb | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I don't think mythtv-setup adds MythBackendServer? and MythBackendIP for the NULL host as I've ran it several times and mythweb continued to fail. The error message isn't helpful and didn't lead me to a solution. I ended up putting error_log output in the code and debugging to find the solution.
Attachments (2)
Change History (11)
Changed 15 years ago by
Attachment: | MythBackend-mod.php added |
---|
comment:1 Changed 15 years ago by
correction: fields are MythBackendPort? and MythBackendIP
attaching error users receive if both fields are not defined for the NULL host
comment:2 Changed 15 years ago by
Component: | MythTV - General → Plugin - MythWeb |
---|---|
Status: | new → infoneeded_new |
Please create a unified diff (using diff -u or svn diff) of the changes rather than attaching a complete copy of the PHP source file. If you have questions about how to create the diff, please ask on the mailing lists or in IRC. Thanks.
comment:3 Changed 15 years ago by
Owner: | set to Rob Smith |
---|
Changed 15 years ago by
Attachment: | improved_error_message.diff added |
---|
comment:4 Changed 15 years ago by
Status: | infoneeded_new → new |
---|
comment:5 Changed 15 years ago by
Status: | new → assigned |
---|
This updated message isn't acceptable, we under no circumstances suggest that people insert rows directly into the database. Please remove that content.
comment:6 Changed 15 years ago by
Resolution: | → Invalid |
---|---|
Status: | assigned → closed |
This is also invalid-- mythtv-setup absolutely *does* set the global (NULL host) values for these settings.
comment:7 Changed 15 years ago by
As an update, the problem is not that mythtv-setup is not inserting global values for these settings, but that something--outside of MythTV--is editing the database and inserting host-specific values for these settings (which then override the global values for that particular host). Someone needs to find that application/package/whatever and fix it.
comment:8 Changed 15 years ago by
Resolution: | Invalid → Fixed |
---|
comment:9 Changed 15 years ago by
Milestone: | unknown → 0.24 |
---|---|
Version: | Unspecified → Trunk Head |
modified mythplugins/mythweb/classes/MythBackend.php file with improved message