Webinterface plugin (1 Viewer)

aasmund Nordal

Portal Pro
June 20, 2005
204
0
Norway
Home Country
Norway Norway
EDIT:

Pherhaps the log is more understanding then me.
http://aasmund.mscon.net/diverse/

more edit: Found out that this could be a problem if you are using .net framwork 2.0 but i did not have this but an older version. Tried uninstalling it and install mp but it require .net so I installed .net v. 1.1 and reinstalling mp.
Stil the same result. Very strange.. Installed it on 3 computers and one of them worked one time.
Maby I wil just wait for rc2 release.

I only get error when i try webinterface.

fks from recording:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [14] unable to open database file' in C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\sql.php:10 Stack trace: #0 C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\sql.php(10): PDO->__construct('sqlite:') #1 C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\sql.php(172): sqlquery('SELECT * FROM r...', 'multi') #2 C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\recordings.php(5): getSingleRecordings() #3 C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\index.php(265): include('C:\Programfiler...') #4 {main} thrown in C:\Programfiler\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\sql.php on line 10


And in the first pagethat says I mus activate Home:
Important!!! Due to a problem with MP's plugin handling in 0.2 RC1 MPW is not recognized correctly. After installing MPW you have to start MP's configuration and go to the plugins section. Here activate the checkbox for "Home" at the "External Control Plugin II for MP". You just need to do it once. After this you can continue here.

I noticed that when I uninstall, not everything is removed, so I tried to remove it manualy but that did not help.

Before I installed it on my htpc I removed it from my pc.
I tried to install it once again on my pc, but now I have the same problem here.

It looks like its something happening when I reinstall.
Sometimes when I install webinterface I am asked to install apache(2)
Like its an apache nr 1 in my machine from previously installed webinterface. I have tried to revome apache from add/remove before I reinstall, but I dont remember if that made the program ask for apacha instead of apashe (2)

I wil try some more now, I was wery tired last night. Stay up to late with mediaportal and my nefue (my brothers kid) is waking me up to watch donald.


edit: I forgot, I use the latest cvs.

Edit2: Removed everything, apache mp mpweb and everything about mp in regedit.
Reinstalled in the folowing order:

mp
cvs
mpw (asked for apache2 to be installed)

The home option wil stil not be activated.
One new thing I noticed was 2 apache services when I press ctrl alt del.

I wil try de deactivate one of them.

another edit:
There where 2 apache services in ctrl alt del. 44xxx bytes and 18 xxx bytes. I tried do deactivate 18xxx bytes. No luck.
I tried to start apache manualy in file management- services.

I found only one apache service there called apache2. I tried to start the service and i got an error.
I lokked in the log and it said the log could not be opned.
I deactivated the second 44xxx bytes apache, and tried again, and then I could start apache service.

That would not help.
I went back in to file management beacouse there are apache error logs from previous.
Then I noticed a new error after the error without log:
this one had a log:

The Apache service named reported the following error:
>>> [Fri Oct 28 15:27:54 2005] [notice] Disabled use of AcceptEx() WinSock2 API .

log 2: could not open log:

log 3: The Apache service named reported the following error:
>>> no listening sockets available, shutting down .


log 4 The Apache service named reported the following error:
>>> (OS 10048)Bare ett bruk av hver enkelt kontaktadresse (protokoll/nettverk adresse/port) er vanligvis tillatt. : make_sock: could not bind to address 0.0.0.0:81 .
 

LordMessi

Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    Nope, it doesn't work with Internet Explorer 6 SP1 or Opera 8.5. I will email you the TV database, thanks :) .

    BTW the web remote doesn't seem to be working well, I get this error:

    Code:
    Warning: lang(language/english.php) [function.lang]: failed to open stream: No such file or directory in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 394
    
    Warning: lang() [function.include]: Failed opening 'language/english.php' for inclusion (include_path='.;C:/Archivos de programa/Team MediaPortal/MediaPortal/MPWebControl/php/pear/') in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 394
    
    Warning: lang(language/spanish.php) [function.lang]: failed to open stream: No such file or directory in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 399
    
    Warning: lang() [function.include]: Failed opening 'language/spanish.php' for inclusion (include_path='.;C:/Archivos de programa/Team MediaPortal/MediaPortal/MPWebControl/php/pear/') in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 399
    String not found.

    Edit: well it does work, but I get this warning.
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    igalan said:
    Nope, it doesn't work with Internet Explorer 6 SP1 or Opera 8.5. I will email you the TV database, thanks :) .

    BTW the web remote doesn't seem to be working well, I get this error:

    Code:
    Warning: lang(language/english.php) [function.lang]: failed to open stream: No such file or directory in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 394
    
    Warning: lang() [function.include]: Failed opening 'language/english.php' for inclusion (include_path='.;C:/Archivos de programa/Team MediaPortal/MediaPortal/MPWebControl/php/pear/') in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 394
    
    Warning: lang(language/spanish.php) [function.lang]: failed to open stream: No such file or directory in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 399
    
    Warning: lang() [function.include]: Failed opening 'language/spanish.php' for inclusion (include_path='.;C:/Archivos de programa/Team MediaPortal/MediaPortal/MPWebControl/php/pear/') in C:\Archivos de programa\Team MediaPortal\MediaPortal\MPWebControl\htdocs\webscheduler\functions\functions.php on line 399
    String not found.

    Edit: well it does work, but I get this warning.

    Please also send me functions/data.php - and it would be nice to be able to see it myself - I mean if I could connect to it....
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    The warnings only appear using the Spanish translation. In english I don't have them.

    Here is the data.php:

    Code:
    <?php 
    $MPpath = "C:\Archivos de programa\Team MediaPortal\MediaPortal"; 
    $dbpath = "C:\Archivos de programa\Team MediaPortal\MediaPortal\database\TVDatabaseV21.db3"; 
    $primetime = "2000"; 
    $showTB = 0; 
    $timeform = "24h"; 
    $language = "spanish"; 
    $tvgroup = 0; 
    $viewlegend = 1; 
    $viewchannelno = 1; 
    $defaultPaddingStart = 0; 
    $defaultPaddingEnd = 0; 
    ?>

    BTW, I have set up Media Portal to start recording 10 minutes before, and stop 30 minutes after. Do I have to repeat this parameters in the configuration of WebEPG (Padding) or it will use Media Portal parameters?
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    igalan said:
    The warnings only appear using the Spanish translation. In english I don't have them.

    Here is the data.php:

    Code:
    <?php 
    $MPpath = "C:\Archivos de programa\Team MediaPortal\MediaPortal"; 
    $dbpath = "C:\Archivos de programa\Team MediaPortal\MediaPortal\database\TVDatabaseV21.db3"; 
    $primetime = "2000"; 
    $showTB = 0; 
    $timeform = "24h"; 
    $language = "spanish"; 
    $tvgroup = 0; 
    $viewlegend = 1; 
    $viewchannelno = 1; 
    $defaultPaddingStart = 0; 
    $defaultPaddingEnd = 0; 
    ?>

    BTW, I have set up Media Portal to start recording 10 minutes before, and stop 30 minutes after. Do I have to repeat this parameters in the configuration of WebEPG (Padding) or it will use Media Portal parameters?

    WebEPG is an EPG fetching program - this is MPW - Media Portal Webinterface - sooo yes, you must set the Padding start and stop in MPW.

    Please beaware of the differences of WebEPG and MPW!
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    Sorry, I meant the padding in the Media Portal setup :) . When I schedule recordings using Media Portal they start 10 minutes ahead, and stop 30 mins after.
     

    Users who are viewing this thread

    Top Bottom