LinHES Forums
http://forum.linhes.org/

suddenly, the mythweb interface is hosed up
http://forum.linhes.org/viewtopic.php?f=6&t=19447
Page 1 of 1

Author:  rkhanso [ Sun Jan 18, 2009 3:52 am ]
Post subject:  suddenly, the mythweb interface is hosed up

I logged onto the mythweb interface and noticed most everything is missing. Image for a link to what it looks like.

Additionally, when I click on the few links that are there, the linked pages are messed up and just as sparse as this one.

How did can I fix this? Can I just take the mythweb.php from another machine and transfer it to my myth box? If so, can someone give me the correct html?

Or, do I need to do something else?

Here's the mythweb.php code:
Code:
<?php
/**
 * The main brain script for all of MythWeb.
 *
 * @url         $URL: http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins/mythweb/mythweb.php $
 * @date        $Date: 2008-02-08 02:34:57 -0800 (Fri, 08 Feb 2008) $
 * @version     $Revision: 15839 $
 * @author      $Author: kormoc $
 * @license     GPL
 *
 * @package     MythWeb
 *
/**/

// Add a custom include path?
    if (!empty($_SERVER['include_path']) && $_SERVER['include_path'] != '.')
        ini_set('include_path', $_SERVER['include_path'].PATH_SEPARATOR.ini_get('include_path'));

// Init
    require_once 'includes/init.php';

// Standard module?  Pass along the
    if ($Modules[$Path[0]]) {
    // Add the current module directory to our search path, so modules can
    // define includes, etc.
        ini_set('include_path', ini_get('include_path').':'.modules_path.'/'.$Path[0]);
    // Load the module handler
        require_once 'handler.php';
    }
    elseif ($Path[0] == 'dcss')
        include_once 'skins/default/'.$Path[1];
    elseif (!empty($Path[0]) && preg_match('/\w/', $Path[0]))
        tailored_error('unknown_module');
    else
        require_once 'modules/welcome.php';

Author:  goofee [ Sun Jan 18, 2009 2:54 pm ]
Post subject: 

It appears that it is in mobile/PDA mode for some reason. Add '?RESET_TMPL=true' to the end of a mythweb URL and it should reset the template. As per http://mysettopbox.tv/phpBB2/viewtopic.php?t=18845

Author:  rkhanso [ Mon Jan 19, 2009 12:21 am ]
Post subject: 

Thanks.
I don't think I would have found that fix.
It's working as normal now.
Thank You.

Author:  cecil [ Tue Jan 20, 2009 11:18 am ]
Post subject: 

@goofee: Great save!

Author:  neutron68 [ Sat Oct 10, 2009 11:18 pm ]
Post subject:  thanks, again

The same thing just happened to me tonight. I accessed Mythweb from my cell phone and it stayed stuck in a stripped down interface.

Thanks to all who make this forum go!!

I should mention, that this forum is the most friendly Linux-based forum I've encountered in my travels! :)

Thanks ALL!
Eric

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/