[mythtv-users] ubuntu-12.04 mythweb-0.25.2+fixes broken /mythtv/root_url

mythtv at raf.org mythtv at raf.org
Tue Oct 16 04:23:35 UTC 2012


hi,

ubuntu-12.04, mythweb 2:0.25.2+fixes.20120802.46cab93-0ubuntu1

i recently upgraded from ubuntu-11.04 to ubuntu-12.04 and now my mythweb is broken.
i think the apache config is ok but when i browse to http://host/mythweb/
i see two hyperlinks both labelled "MythTV" and both pointing to an invalid url:

  /mythweb/root_url

the actual html is invalid. it consists of an incomplete html fragment
(ending abruptly inside the <body> element with no closing </body> or </html>)
followed by an identical incomplete html fragment.

of course, if i click on one of the hyperlinks, i am told:

  Not Found
  The requested URL /mythweb/root_url was not found on this server.

so it seems like something is going wrong in the php code or configuration.

the "MythTV" in the hyperlinks is the alt text for the mythtv logo
which the html thinks is in "skin_urlimg/mythtv-logo.png" but there is
no skin_urlimg directory in the mythweb directory. there are several
skins/*/img/mythtv-logo.png files, however.

it looks like root_url and skin_urlimg might be php variables or
template parameters that aren't being replaced by meaningful values
(as well as the html being structurally broken).

something that might be relevant (but probably isn't) is that the
mythweb directory contains a broken symlink dated 2/8/2012 called
".htaccess" that points to "/etc/mythtv/mythweb-htaccess" which
doesn't exist.

my /etc/mythtv does have a very old "mythweb-htaccess.obsolete"
dated 10/2/2010 but renaming that to mythweb-htacess doesn't
help (it just causes apache to complain: php_value not allowed here).

i'm also getting the following pgp warning which may or may not be relevant:

  PHP Warning:  Failed to open translation file:
  modules_path/_shared/lang/English.lang
  in /usr/share/mythtv/mythweb/classes/Translate.php
  on line 173

again, there is a modules/_shared/lang/English.lang in the mythweb directory
so it looks like modules_path is another variable/parameter that is not
being replaced by its real value so this php warning just looks like another
instance of the problem, not its cause.

has anyone else come across this and fixed it?

i've attached the actual broken html to this email and made it
available at http://raf.org/tmp/broken-mythweb.html in case the
list server removes the attachment.

cheers,
raf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121016/bd00dca7/attachment.html>


More information about the mythtv-users mailing list