Webinterface plugin (1 Viewer)

phpchris

Portal Pro
June 18, 2005
68
0
I got a problem with the HTML the scripts produce.
Let me give you a snippet on where the error occures:

Code:
<td onclick="location='index.php?page=c_detail2&showid=9196&channel=11';" colspan="15" style="border-style: solid; border-color: rgb(174, 174, 174); border-width: 0px 1px 1px 0px; font-size: 9px; overflow: hidden; z-index: 1000; background-color: rgb(206, 206, 206);" onmouseover="this.style.background='#FFFFFF';return overlib('	<table style=&quot;z-index:1000;&quot;>	<tr style=&quot;z-index:1000;&quot;>	<td align=&quot;center&quot; style=&quot;width:110px;z-index:1000;&quot;><img src=&quot;gfx/nochannellogo.gif&quot; alt=&quot;viva&quot; height=&quot;64&quot; width=&quot;64&quot; />
[b]29) VIVA</td>	<td style=&quot;width:380px;z-index:1000;&quot;>[b]Comet 2005 - Nominees \[/b]"bester="" künstler="">
[i][/i]
11:30 - 12:00
-
Dauer: 30 Minuten </td>	</tr>	<tr>	<td colspan="2">
Leider keine Beschreibung verfügbar...</td>	</tr>	</tbody></table>');" onmouseout="this.style.background='#cecece';return nd();"&gt;
I bet it has something to do with the backslash here:


Also the webinterface does not start MP correctly when I ress the link...[/code]Comet 2005 - Nominees \
Code:
 

LordMessi

Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    phpchris said:
    I got a problem with the HTML the scripts produce.
    Let me give you a snippet on where the error occures:

    Code:
    <td onclick="location='index.php?page=c_detail2&showid=9196&channel=11';" colspan="15" style="border-style: solid; border-color: rgb(174, 174, 174); border-width: 0px 1px 1px 0px; font-size: 9px; overflow: hidden; z-index: 1000; background-color: rgb(206, 206, 206);" onmouseover="this.style.background='#FFFFFF';return overlib('	<table style=&quot;z-index:1000;&quot;>	<tr style=&quot;z-index:1000;&quot;>	<td align=&quot;center&quot; style=&quot;width:110px;z-index:1000;&quot;><img src=&quot;gfx/nochannellogo.gif&quot; alt=&quot;viva&quot; height=&quot;64&quot; width=&quot;64&quot; />
    [b]29) VIVA</td>	<td style=&quot;width:380px;z-index:1000;&quot;>[b]Comet 2005 - Nominees \[/b]"bester="" künstler="">
    [i][/i]
    11:30 - 12:00
    -
    Dauer: 30 Minuten </td>	</tr>	<tr>	<td colspan="2">
    Leider keine Beschreibung verfügbar...</td>	</tr>	</tbody></table>');" onmouseout="this.style.background='#cecece';return nd();"&gt;
    I bet it has something to do with the backslash here:


    Also the webinterface does not start MP correctly when I ress the link...[/code]Comet 2005 - Nominees

    This first thing is surely a special chars problem...this should be corrected in the next update.

    Please check the installation guide on our website, specifically on the Apache2 service settings.
     

    civikdude

    Portal Pro
    March 17, 2005
    110
    0
    U.S.A.
    Just a quick question, is it possible to disable the "Login to MediaPortal webinterface" dialog box? In other words, is it possible to allow open access without requiring a username?

    Regards,
    Aaron
     

    Khris

    Portal Pro
    July 2, 2005
    449
    0
    Edmonton, AB
    Home Country
    Canada Canada
    oxyde said:
    Use TweakUiPowertoy from Microsoft.
    (Freeware).
    Never login to windows. :D

    You misread his request. He wants to disable the login requirements of the Media Portal WebInterface......not Windows.

    A previous version of the MPW asked if you wanted to use security.....but I don't recall that option in the latest one.
     

    samuel337

    Portal Pro
    August 25, 2004
    772
    0
    Melbourne, Australia
    That definitely should be possible and it definitely worked because I wrote the setup system. There should be an option during setup that allows you to not install security (it is on by default). I haven't been keeping tabs on the new releases as close as I would like to though, so the devs might have removed it for a reason...

    If its not there, reply here and I'll check it out.

    Sam
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    samuel337 said:
    That definitely should be possible and it definitely worked because I wrote the setup system. There should be an option during setup that allows you to not install security (it is on by default). I haven't been keeping tabs on the new releases as close as I would like to though, so the devs might have removed it for a reason...

    If its not there, reply here and I'll check it out.

    Sam

    Hi Sam,

    The option has been turned off, because it never worked.....
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    civikdude said:
    Just a quick question, is it possible to disable the "Login to MediaPortal webinterface" dialog box? In other words, is it possible to allow open access without requiring a username?

    Regards,
    Aaron

    It's possible to do so....you must open %installationpath%\MPWebControl\apache\conf\httpd.conf with notepad..search for Login to

    and look for AuthName....
    fe.

    Code:
    <Directory "C:/Program Files/Team MediaPortal/MediaPortal/MPWebControl/htdocs/webscheduler">
    # password security
    AuthName "Login to MediaPortal webinterface"
    AuthType Basic
    AuthUserFile "C:/Program Files/Team MediaPortal/MediaPortal/MPWebControl/apache/conf/webserver.pwd"
    require valid-user
    </Directory>

    change to
    Code:
    <Directory "C:/Program Files/Team MediaPortal/MediaPortal/MPWebControl/htdocs/webscheduler">
    # password security
    #AuthName "Login to MediaPortal webinterface"
    #AuthType Basic
    #AuthUserFile "C:/Program Files/Team MediaPortal/MediaPortal/MPWebControl/apache/conf/webserver.pwd"
    #require valid-user
    </Directory>

    Do this to every AuthName in the bottom of the file.

    Save the file, and restart the Apache2 service.
     

    civikdude

    Portal Pro
    March 17, 2005
    110
    0
    U.S.A.
    LordMessi said:
    The option has been turned off, because it never worked.....

    Seems to me it would be a nice option to have, especially since one safeguard already in place is the http port at 81. Maybe the "no security" option could do exactly as you suggested, modify the httpd.conf file to automatically remark those lines...

    LordMessi said:
    Do this to every AuthName in the bottom of the file.

    Awesome! After modifying the 6 sections as you suggested, I am no longer prompted for a usename!!

    Thanks,
    Aaron
     

    thechad

    Portal Pro
    February 5, 2005
    187
    0
    Geelong, Australia
    Home Country
    Just a quick question,

    How come the default web server is Apache when IIS is available with Windows and IIS works with PHP anyway.

    Not having a stab at anyone just wondering why this approach was taken?

    I found that Apache consumed quite a lot of Ram on my system when believe it or not IIS seems to operate a little better. Also when queries were made on the databases in apache it makes MP live tv jump more so then when in use with IIS (not sure why this is the case).

    Anyway thanks for what you guys are doing, looks great and very promising.
     

    Users who are viewing this thread

    Top Bottom