FAQ  •  Register  •  Login

Web UI in PHP - support thread

<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Thu Nov 01, 2012 2:22 pm

Re: Web UI in PHP (revised)

greenythebeast wrote:Will this run on nginx or lighttpd?

I haven't tried it, but if the PHP requirements are present then I don't see why not. If you happen to give either/both a try, would love to hear the results!
<<

greenythebeast

Serviio newbie

Posts: 11

Joined: Fri Feb 24, 2012 10:12 am

Post Fri Nov 02, 2012 2:22 am

Re: Web UI in PHP (revised)

mpemberton5 wrote:
greenythebeast wrote:Will this run on nginx or lighttpd?

I haven't tried it, but if the PHP requirements are present then I don't see why not. If you happen to give either/both a try, would love to hear the results!


I can confirm it runs great on lighttpd :)
<<

greenythebeast

Serviio newbie

Posts: 11

Joined: Fri Feb 24, 2012 10:12 am

Post Sat Nov 03, 2012 11:21 pm

Re: Web UI in PHP (revised)

Is the 1.3 version on Github ready to go or is it still a WIP?
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sun Nov 04, 2012 2:20 am

Re: Web UI in PHP (revised)

greenythebeast wrote:Is the 1.3 version on Github ready to go or is it still a WIP?

Definitely work in progress. I guess I should have branched it for the 1.3 version. My apologies for the confusion. Still got some work to do before I release it. Definitely making progress.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Mon Nov 05, 2012 10:39 pm

Re: Web UI in PHP (revised)

Can't wait to try it!
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

totoro81

Serviio newbie

Posts: 2

Joined: Fri Nov 23, 2012 12:01 pm

Post Fri Nov 23, 2012 12:29 pm

Re: Web UI in PHP (revised)

Hello everyone,

I found a solution to the presentation tab problem.
The issue was in magic_quotes PHP parameter, that must be set to Off. Probably some NAS (like my QNAP) have this setting to On in the default configuration.

There are two methods to change the value:
- directly on php.ini
- locally on the code of serviio web ui

The second method requires that you create a .htaccess file in web_ui/code folder and put this directive into it:
php_value magic_quotes_gpc "Off"

Hope this helps.
Bye!
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Nov 23, 2012 1:57 pm

Re: Web UI in PHP (revised)

Been waiting for a solution to this bug for a very long time!
I'll try it tonight, thanks!
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Fri Nov 23, 2012 2:34 pm

Re: Web UI in PHP (revised)

totoro81 wrote:Hello everyone,

I found a solution to the presentation tab problem.
The issue was in magic_quotes PHP parameter, that must be set to Off. Probably some NAS (like my QNAP) have this setting to On in the default configuration.

There are two methods to change the value:
- directly on php.ini
- locally on the code of serviio web ui

The second method requires that you create a .htaccess file in web_ui/code folder and put this directive into it:
php_value magic_quotes_gpc "Off"

Hope this helps.
Bye!

The .htaccess fix worked for me! (QNAP TS-219P+)
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Nov 23, 2012 8:27 pm

Re: Web UI in PHP (revised)

Reading this - http://en.wikipedia.org/wiki/Magic_quotes

Think it's best to disable magic quotes at system level
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

totoro81

Serviio newbie

Posts: 2

Joined: Fri Nov 23, 2012 12:01 pm

Post Fri Nov 23, 2012 10:32 pm

Re: Web UI in PHP (revised)

Xmantium wrote:Reading this - http://en.wikipedia.org/wiki/Magic_quotes

Think it's best to disable magic quotes at system level


I agree.
Anyway, the method with .htaccess can be a quick solution and, if integrated inside the downloadable package, will make the code work in every scenario.

Bye
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Sat Nov 24, 2012 10:49 pm

Re: Web UI in PHP (revised)

mpemberton5 wrote:
greenythebeast wrote:Is the 1.3 version on Github ready to go or is it still a WIP?

Definitely work in progress. I guess I should have branched it for the 1.3 version. My apologies for the confusion. Still got some work to do before I release it. Definitely making progress.

Looking forward to the integration of serviidb.com ! Do you think it will be out in time for the 1.1 release, around Christmas?
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Nov 24, 2012 11:35 pm

Re: Web UI in PHP (revised)

csholmq wrote:
mpemberton5 wrote:
greenythebeast wrote:Is the 1.3 version on Github ready to go or is it still a WIP?

Definitely work in progress. I guess I should have branched it for the 1.3 version. My apologies for the confusion. Still got some work to do before I release it. Definitely making progress.

Looking forward to the integration of serviidb.com ! Do you think it will be out in time for the 1.1 release, around Christmas?

Oh definitely. I've got a lot of it done already.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun Nov 25, 2012 10:53 pm

Re: Web UI in PHP (revised)

Mark is it possible to have Online sources it's own main tab, since I mainly use the web UI to add or change online content and with ServiiDB integration coming in, think it deserves it's own main tab. ServiiDroid does this as well.

I asked zip to also do this with the official console but there's too little room. But the web UI has plenty of place even on my tablet. :)

Even better a user option to switch it dynamically between main tab or sub tab in Library tab
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Mon Nov 26, 2012 1:04 am

Re: Web UI in PHP (revised)

Xmantium wrote:Mark is it possible to have Online sources it's own main tab, since I mainly use the web UI to add or change online content and with ServiiDB integration coming in, think it deserves it's own main tab. ServiiDroid does this as well.

I asked zip to also do this with the official console but there's too little room. But the web UI has plenty of place even on my tablet. :)

Even better a user option to switch it dynamically between main tab or sub tab in Library tab

I could look into making this an option. :)

Add it to my github feature requests.
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sat Dec 01, 2012 6:57 am

Re: Web UI in PHP (revised)

Hi guys,

Well, things have been working really well with my setup. I decided to upgrade Serviio to 1.0.1 and updated the WebUI in PHP to match.

I also recompiled my FFMPEG as I was having problems getting the mediabrowser to work - and all was fine.

However, the trial part of Serviio has expired, and since that I have been unable to edit, add or remove playlists from my online sources.

The feeds themselves are working, but it appears that communications for this feature between the web console and the server aren't communicating properly.

I've checked the Serviio log (detailed logging is on) and I can't see anything amiss - I have had to scour these before to work out problems with FFMPEG and I'm not getting any error messages relating to Online Sources except for a few ILive sources timing out.

Anybody else experienced this?

My setup is as follows:

Ubuntu 12.04LTS Server (headless)
Web UI in PHP
Apache, PHP5, libCurl, libXML all installed and working
Licence just expired
Unable to modify online sources with web ui

Any help appreciated!

Cheers :)

Edit - The same thing happens with local sources too, I get a feeling anything I update on the console is not being saved - despite the console giving me the 'Saved' response when I click the Save button. When I refresh the browser after saving, the change I thought had applied has disappeared. This has all started happening since the trial period for Pro has expired. Do you think this could be linked or have I added 2 and 2 and come up with 5?
<<

jshg46

Streaming enthusiast

Posts: 47

Joined: Tue Apr 24, 2012 11:57 pm

Post Sat Dec 01, 2012 5:32 pm

Re: Web UI in PHP (revised)

I'm beginning to think if you are planning on staying with free Serviio, you would be better off with 6.2 . I have upgraded as well and I have seen a lot of interesting problem due to the lack of a license.
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Dec 01, 2012 5:54 pm

Re: Web UI in PHP (revised)

jshg46 wrote:I'm beginning to think if you are planning on staying with free Serviio, you would be better off with 6.2 . I have upgraded as well and I have seen a lot of interesting problem due to the lack of a license.

There is certainly no intention of catering to licensed users. I've made every effort to code WebUI to work for all users - licensed or unlicensed. I was unaware of an issue with 1.0.1 and the latest WebUI but will certainly make every effort to recreate lmd's issues.

I've been working heavily into the upcoming release of WebUI and I'll be sure to take the extra time to ensure it works with all licenses.

Cheers!
Mark
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Dec 01, 2012 6:00 pm

Re: Web UI in PHP (revised)

lmd wrote:Hi guys,

Well, things have been working really well with my setup. I decided to upgrade Serviio to 1.0.1 and updated the WebUI in PHP to match.

I also recompiled my FFMPEG as I was having problems getting the mediabrowser to work - and all was fine.

However, the trial part of Serviio has expired, and since that I have been unable to edit, add or remove playlists from my online sources.

The feeds themselves are working, but it appears that communications for this feature between the web console and the server aren't communicating properly.

I've checked the Serviio log (detailed logging is on) and I can't see anything amiss - I have had to scour these before to work out problems with FFMPEG and I'm not getting any error messages relating to Online Sources except for a few ILive sources timing out.

Anybody else experienced this?

My setup is as follows:

Ubuntu 12.04LTS Server (headless)
Web UI in PHP
Apache, PHP5, libCurl, libXML all installed and working
Licence just expired
Unable to modify online sources with web ui

Any help appreciated!

Cheers :)

Edit - The same thing happens with local sources too, I get a feeling anything I update on the console is not being saved - despite the console giving me the 'Saved' response when I click the Save button. When I refresh the browser after saving, the change I thought had applied has disappeared. This has all started happening since the trial period for Pro has expired. Do you think this could be linked or have I added 2 and 2 and come up with 5?

Sorry you are having troubles. I'm wondering if there is a scenario when the Pro trial period expires that may be different than having no license (which is how I tested it). I'll recreate your config and see if I can find the issue.
Cheers!
Mark
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Dec 01, 2012 6:04 pm

Re: Web UI in PHP (revised)

Hi Mark, are you going to make separate versions for Serviio 1.0.1 (bugs fixed) and for 1.1?
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Dec 01, 2012 6:55 pm

Re: Web UI in PHP (revised)

Xmantium wrote:Hi Mark, are you going to make separate versions for Serviio 1.0.1 (bugs fixed) and for 1.1?

It would be beneficial to have a single version to maintain, so that is my intent. What drives it is API changes and the ability to code around differences. Kudos to zip who has done a great job trying to keep the API backward compatible.
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 7 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.