Kodi Community Forum

Full Version: MediaFrontPage - Web interface with widget type architecture to control multiple apps
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
DejaVu Wrote:Possibly fixed it on the Repo now. Originally it was pointing to './'

Changed to '/'.
Hoping that solves it now. Please let me know.

Yup, solved! Thanks!!!


DejaVu Wrote:Just realised HeadPhones has no Reverse Proxy variable in the config.php. Must have missed it.

Fixing it now! Doh!

Unfortunately, headphones and subsonic both remain broken unless I manually fix the URL. Any other thoughts?
I installed mediafrontpage on my ubuntu-server a minute ago. I chowned the mediafrontpagefolder recursively for user www-data so mediafrontpage has write-acces and everything (the sudo chmod 777 on the wiki is an evil thing, please remove that, all those information about urls and passwords inside the config shouldn't be available for the world imho).

I also get a succesfull servercheck, so everything is ok according to that. When I click the links for settings.php, it loads the settings.php, but the adress stays http.../index.php. None of the links in the topbar is working when I click it (e.g. general, programs, etc). When I change the adress manually to http.../settings.php, it is also not working, but when I click e.g. programs, the adress changes to http.../settings.php#PROGRAMS, but the page won't change, it stays on the About-page, which is I believe the first page of settings.php.

What's wrong here? Browsing with firefox 3.6.18 on Ubuntu 10.10. (other machine than where MFP is installed.

(I didn't edit config.ini and stuff, mediafrontpage created one itself, I assume the tutorial on the wiki is old and all configuration can be done through the webinterface?)
Mar2zz Wrote:I installed mediafrontpage on my ubuntu-server a minute ago. I chowned the mediafrontpagefolder recursively for user www-data so mediafrontpage has write-acces and everything (the sudo chmod 777 on the wiki is an evil thing, please remove that, all those information about urls and passwords inside the config shouldn't be available for the world imho).

I also get a succesfull servercheck, so everything is ok according to that. When I click the links for settings.php, it loads the settings.php, but the adress stays http.../index.php. None of the links in the topbar is working when I click it (e.g. general, programs, etc). When I change the adress manually to http.../settings.php, it is also not working, but when I click e.g. programs, the adress changes to http.../settings.php#PROGRAMS, but the page won't change, it stays on the About-page, which is I believe the first page of settings.php.

What's wrong here? Browsing with firefox 3.6.18 on Ubuntu 10.10. (other machine than where MFP is installed.

(I didn't edit config.ini and stuff, mediafrontpage created one itself, I assume the tutorial on the wiki is old and all configuration can be done through the webinterface?)
Yay! Not just me then. I cannot get the settings links to work in the official either. This is due to a recent update that prints the commit number to the About page.

You have 2 choices at the moment, til Gugahoi can take a look. Either remove the 2 PHP Scripts in the About section - under 'Last Update' of settings.php - for the github API.

Or try my Repo (in my siggy) that has it commented out already - and mine has a different Navigation bar as I hate frames.
hey guys after updating MFP i can not use the http://www.nzb.su/rss rss feeds anymore and also the search for nzb.su still not working

Warning: DOMDocument::load() [domdocument.load]: StartTag: invalid element name in http://www.nzb.su/rss?t=2040, line: 1 in C:\xampp\htdocs\t\widgets\wRSS.php on line 142 Warning: DOMDocument::load() [domdocument.load]: Extra content at the end of the document in http://www.nzb.su/rss?t=2040, line: 1 in C:\xampp\htdocs\t\widgets\wRSS.php on line 142

if i use a older build i can use the rss feeds just fine but the search dont work on both builds

old format $rssfeeds["Movies (HD x264)"] = array("url" => "http://www.nzb.su/rss?t=2040&dl=1&i=2018&r=000000000000000000000000000000", "cat" => "movies");
new format Movies HD = "url=http://www.nzb.su/rss?t=2040&dl=1&i=2018&r=000000000000000000000000000000&cat=movies" cant read after the &
NZBMatrix_-_TV_Shows_%28DivX%29 = "url=http://rss.nzbmatrix.com/rss.php?subcat=6&cat=tv" this works just fine

what im trying to say is if we set the cat with "cat" the rss feeds should work and maybe thats the same problem with the search can some please look in to it

i dont know where to make the changes but it seems to me that the only different is that the new config uses a & and then sets a cats thats why i can read the rss feeds from nzb.su i hope it makes sense and if im wrong please help me out

this is from the search when it cant download "http://nzb.su/getnzb/f3f0000000000000000000000009bc.nzb2018" » URL Fetching failed; Unusable NZB file, Try again
"http://nzb.su/getnzb/f3f0000000000000000000000009bc.nzb2018" i dont see anything after 2018 im sure its not reading my NZB.SU API key

what it needs to look like is "http://www.nzb.su/getnzb/6000000000000000000000000a5b.nzb&i=2018&r=000000000000000000000000000000"
sorry about my english but i hop this help and like it saided befor it has something to do with the & symbol
RanaMaster. I'll look into this for you.

But in the meantime, you might want to edit out your NZB.SU API from your previous post! Wink

http://nzb.su/getnzb/"THIS BIT HERE IS GOT YOUR INFO ONLY".nzb2018

EDIT:
The Search widget, using NZB.su works perfectly for me. Tried and tested seconds ago. Are you settings in MFP for NZB.su correct?
RSS Feeds, you are correct, they are not displaying at all for me. Will investigate.
RaNaMaster Wrote:hey guys after updating MFP i can not use the http://www.nzb.su/rss rss feeds anymore and also the search for nzb.su still not working

Warning: DOMDocument::load() [domdocument.load]: StartTag: invalid element name in http://www.nzb.su/rss?t=2040, line: 1 in C:\xampp\htdocs\t\widgets\wRSS.php on line 142 Warning: DOMDocument::load() [domdocument.load]: Extra content at the end of the document in http://www.nzb.su/rss?t=2040, line: 1 in C:\xampp\htdocs\t\widgets\wRSS.php on line 142

if i use a older build i can use the rss feeds just fine but the search dont work on both builds

old format $rssfeeds["Movies (HD x264)"] = array("url" => "http://www.nzb.su/rss?t=2040&dl=1&i=2018&r=000000000000000000000000000000", "cat" => "movies");
new format Movies HD = "url=http://www.nzb.su/rss?t=2040&dl=1&i=2018&r=000000000000000000000000000000&cat=movies" cant read after the &
NZBMatrix_-_TV_Shows_%28DivX%29 = "url=http://rss.nzbmatrix.com/rss.php?subcat=6&cat=tv" this works just fine

what im trying to say is if we set the cat with "cat" the rss feeds should work and maybe thats the same problem with the search can some please look in to it

i dont know where to make the changes but it seems to me that the only different is that the new config uses a & and then sets a cats thats why i can read the rss feeds from nzb.su i hope it makes sense and if im wrong please help me out

this is from the search when it cant download "http://nzb.su/getnzb/f3fd3082e10c6b91e11df0915fc569bc.nzb2018" » URL Fetching failed; Unusable NZB file, Try again
"http://nzb.su/getnzb/f3fd3082e10c6b91e11df0915fc569bc.nzb2018" i dont see anything after 2018 im sure its not reading my NZB.SU API key

what it needs to look like is "http://www.nzb.su/getnzb/6a7d1328871fbfcceb2538ec3d09aa5b.nzb&i=2018&r=000000000000000000000000000000"
sorry about my english but i hop this help and like it saided befor it has something to do with the & symbol

Rana, I think I know the problem here. For the RSS, try to change & to %26 so it would look like this:

Code:
http://www.nzb.su/getnzb/6a7d1328871fbfcceb2538ec3d09aa5b.nzb%26i=2018%26r=000000000000000000000000000000

and for the cat use the normal & again.

DejaVu Wrote:Yay! Not just me then. I cannot get the settings links to work in the official either. This is due to a recent update that prints the commit number to the About page.

You have 2 choices at the moment, til Gugahoi can take a look. Either remove the 2 PHP Scripts in the About section - under 'Last Update' of settings.php - for the github API.

Or try my Repo (in my siggy) that has it commented out already - and mine has a different Navigation bar as I hate frames.

I have downloaded from the Official, from my Repo master and from my Patch branch as well and they are all working?!?!!! I do not understand the problem here....

http://www.youtube.com/watch?v=3Td2HNJwc2w
It does look pretty awesome and you've done a great job on it Gugahoi.

Just need to get it working here somehow. Huh
I think I've nailed it down to this part of the settings.php

Code:
<td>Last Updated</td>
                                   <td>
                                   <?php
// THIS STILL BREAKS THE               require_once 'lib/github/Autoloader.php';
// SETTINGS PAGE                       Github_Autoloader::register();
//                                     $github = new Github_Client();
//                                     $repo = $github->getRepoApi()->show('DejaVu77', 'mediafrontpage', 'master');
//                                     echo $repo['pushed_at'];
                                   ?>
                                   </td>
                              </tr><tr>
                                   <td>
                                    <?php
// THIS STILL BREAKS THE               $commits = $github->getCommitApi()->getBranchCommits('DejaVu77', 'mediafrontpage', 'master');
// SETTINGS PAGE                       echo "Version </td><td>".$commits['0']['parents']['0']['id'];
//                                     if($commits['0']['parents']['0']['id'] !== $config->get('version','ADVANCED')){
//                                     echo "\t<a href='#' onclick='updateVersion();'>***UPDATE Available***</a>";
//                                     }
                                      ?>
                                   </td>

Unless it's somehow system specific?

I've just recorded my screen setting it up at my end and am uploading it to the tube now to show you what happens...
I have everything working except for the main page.......
There is no widgets or anything on the screen.
Im running archlinux with apache server, curl and php.
Couchpotato, sickbeard, sabnzbd are all running fine. Im not currently using xbmc but the main screen is blank.
Heres a screenshot:


Image

Any ideas? thanks.
splippity Wrote:I have everything working except for the main page.......
There is no widgets or anything on the screen.
Im running archlinux with apache server, curl and php.
Couchpotato, sickbeard, sabnzbd are all running fine. Im not currently using xbmc but the main screen is blank.
Heres a screenshot:


Image

Any ideas? thanks.

the picture is not showing up on my end...
I'm guessing it's a blank screen! :p HaHa!

Permissions perhaps? Servercheck failing? Firstrun not deleting.

PHP.ini file uncommented the required extensions?

Youtube Video showing what happens.
http://www.youtube.com/watch?v=3lT3h_8siL8

Perhaps should point your attention to this too. HeadPhones had no Reverse Proxy / Webroot Variable.

EDIT:
@splippity
If you were using my Repo, there was an error in it that I have just fixed that would have caused what you was saying. Sorry. Smile
DejaVu Wrote:I'm guessing it's a blank screen! :p HaHa!

Permissions perhaps? Servercheck failing? Firstrun not deleting.

PHP.ini file uncommented the required extensions?

Youtube Video showing what happens.
http://www.youtube.com/watch?v=3lT3h_8siL8

Perhaps should point your attention to this too. HeadPhones had no Reverse Proxy / Webroot Variable.

I see. Can you check the permission in the lib folder? Take a look at in the lib/github folder specifically... see if everything there is 777...
DejaVu Wrote:Perhaps should point your attention to this too. HeadPhones had no Reverse Proxy / Webroot Variable.

Actually, headphones and subsonic still do not work in dejavu's repo for me. Widget and all others (including the config GUI) work well. Both work if I manually change the URL from "http://192.168.1.110/programs.php?p=HeadPhones" to "http://192.168.1.110/programs.php?p=headphones".

What is fantastic (while awkward), subsonic now works for me for the first time ever using dejavu's repo (besides the manual change above needed). Not sure what it is, but it still does not work with the offficial repo...
DejaVu Wrote:I'm guessing it's a blank screen! :p HaHa!

Permissions perhaps? Servercheck failing? Firstrun not deleting.

PHP.ini file uncommented the required extensions?

Youtube Video showing what happens.
http://www.youtube.com/watch?v=3lT3h_8siL8

Perhaps should point your attention to this too. HeadPhones had no Reverse Proxy / Webroot Variable.

EDIT:
@splippity
If you were using my Repo, there was an error in it that I have just fixed that would have caused what you was saying. Sorry. Smile

Awesome.... The json extension wasnt uncommented. Fixed my problem.

thanks.
gugahoi Wrote:I see. Can you check the permission in the lib folder? Take a look at in the lib/github folder specifically... see if everything there is 777...

I'm not to sure - but I uploaded this. Does this help?

Image
DejaVu Wrote:I'm not to sure - but I uploaded this. Does this help?

EDIT:
Just realised I did not do -R when Chmod'ing.
Done now and they are all showing as -

Files -rwxrwxrwx
Folders -drwxrwxrwx



Image

That's what I was going to say. If you are sure they are -rwxrwxrwx then they should be working. But it still doesn't?

Because if they are -rwxrw-rw- or 766 then they also do not work for me but with 777 they do.

I'm going to try it on Ubuntu now to see if I get errors.