Kodi Community Forum
MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304)



- Celox - 2011-09-24

Maetrik Wrote:If i do changes, they are not saving. It says it does, but when i return its the same like it was before. I'm using MFP on a NAS where the SQL is also located. Is it a configuration problem? XBMC is a nightly version from Sep09

I had the same problem and double checked the config file permissions. My permissions were all set correctly. The only way around it, was for me to edit the configuration manually and reload MFP.

I'm experiencing another problem but im not sure if its due to the latest git version(s) of xbmc (11.0) and its json api or a communication problem between MFP and xbmc. I keep getting "XBMC could not be reached. Check your XBMC Settings are correct." on my Recent-TV/Recent-Movie widgets. I tripple checked all xbmc settings and they are all set properly. Im not using a reverse proxy. Does anyone have a idea how to solve this?


- Aenima99x - 2011-09-25

Celox Wrote:I'm experiencing another problem but im not sure if its due to the latest git version(s) of xbmc (11.0) and its json api or a communication problem between MFP and xbmc. I keep getting "XBMC could not be reached. Check your XBMC Settings are correct." on my Recent-TV/Recent-Movie widgets. I tripple checked all xbmc settings and they are all set properly. Im not using a reverse proxy. Does anyone have a idea how to solve this?

I'm seeing the same issue and I'm also running the nightlies of xbmc.It seems like something in the last couple weeks broke because it was working fine before that.


Transmission Error - oneadvent - 2011-09-25

I am getting:
Code:
409: Conflict

Your request had an invalid session-id header.

To fix this, follow these steps:

    When reading a response, get its X-Transmission-Session-Id header and remember it
    Add the updated header to your outgoing requests
    When you get this 409 error message, resend your request with the updated header

This requirement has been added to help prevent CSRF attacks.

X-Transmission-Session-Id: Oyl824ggxRm62MINn9WDgW1sN74gVI5btJLPMiYHYpRb2GTG

I can get to the site if I go to localhost:9091 no problem. Any ideas on this??

Thanks for the wonderful page!


- Mrkennedy - 2011-09-25

Sorry if this has been answered before, but have an Acer Revo running linux Live.

I did the first step from here

https://github.com/MediaFrontPage/mediafrontpage/wiki/Xbmcliveinstall

But the 2nd command don't fully understand, anyone can give advice?

thanks


- oneadvent - 2011-09-25

This step?

Quote:Clone the Git Repository to the required directory (XBMCLive = /var/www)
sudo git clone git://github.com/MediaFrontPage/mediafrontpage.git /var/www/mediafrontpage

you will need to install git:
Code:
sudo apt-get install git-core

Then just run that command. It will install Mediafrontpage in the correct location.


- Mrkennedy - 2011-09-25

Thanks, that command now worked but the 3rd one does not

Code:
Ensure file permissions allow web server to write to the folder (eg. use chown)
sudo chown -R www-data:your_username /var/www/mediafrontpage

Code:
invalid group: `www-data:your_username'



- oneadvent - 2011-09-25

replace your_username with your actual username.


- Mrkennedy - 2011-09-26

tried my username which is xbmc and does nothing


- oneadvent - 2011-09-26

Code:
sudo chown -R www-data:xbmc /var/www/mediafrontpage

? That should do it. The first part of that is apache2 has to be installed, did that command go with no errors?

what do you get with:
Code:
less /etc/group|grep www-data



- Mrkennedy - 2011-09-26

Code:
Last login: Mon Sep 26 11:18:52 2011 from lola.local
xbmc@XBMCLive:~$ sudo apt-get install git-core
[sudo] password for xbmc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
xbmc@XBMCLive:~$ sudo git clone git://github.com/MediaFrontPage/mediafrontpage.g                                  it /var/www/mediafrontpage
fatal: destination path '/var/www/mediafrontpage' already exists and is not an e                                  mpty directory.
xbmc@XBMCLive:~$ sudo chown -R www-data:xbmc /var/www/mediafrontpage
xbmc@XBMCLive:~$ less /etc/group|grep www-data
www-data:x:33:
xbmc@XBMCLive:~$



- oneadvent - 2011-09-26

This is perfect, move on to step 4.


- Mrkennedy - 2011-09-26

Thank you for your help

Code:
xbmc@XBMCLive:~$ sudo chmod -R 774 /var/www/mediafrontpage
[sudo] password for xbmc:
xbmc@XBMCLive:~$ cd /var/www/mediafrontpage && git pull
Already up-to-date.
xbmc@XBMCLive:/var/www/mediafrontpage$ sudo mkdir /var/www/sbpcache
xbmc@XBMCLive:/var/www/mediafrontpage$ sudo chown -R www-data /var/www/sbpcache
xbmc@XBMCLive:/var/www/mediafrontpage$

And went to the 2 sites and nothing happens


- oneadvent - 2011-09-26

are you on the computer or are you remoting in?

If you are on the computer do

http://localhost/mediafrontpage

if not you will have to replace localhost with the ip address of the computer


- Mrkennedy - 2011-09-26

Thanks did that and it downloaded something called 'download' what do you use to open it?


- oneadvent - 2011-09-26

Code:
sudo /etc/init.d/apache2 restart

try that, reboot for fun and try again.