FAQ  •  Register  •  Login

Web UI in PHP - support thread

<<

jo343

Serviio newbie

Posts: 17

Joined: Thu Aug 23, 2012 7:57 pm

Post Thu Sep 27, 2012 12:20 am

Re: Web UI in PHP (revised)

I am using version 1.2a and made the fix. Still the same problem. I cannot edit source folder (local not online).
<<

alfista

Streaming enthusiast

Posts: 24

Joined: Sun Mar 11, 2012 6:03 pm

Post Sun Sep 30, 2012 7:44 am

Re: Web UI in PHP (revised)

OK, I've did some more tests but hasn't come up with a solution. I get the same error message as was posted earlier. ServiiDroid works fine, and I got the Windows console to work so the Serviio install (installed on Vortexbox) can't be all broken.
<<

gigon

Serviio newbie

Posts: 1

Joined: Fri Sep 28, 2012 7:13 pm

Post Mon Oct 01, 2012 10:13 pm

Re: Web UI in PHP (revised)

I made a packaged version for Synology Disk Stations (thanks to Mark for giving me the permission to publish it)
more infos at http://www.eg-blog.de/?p=573
it works with patters serviio server package for Synology NAS.
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 14, 2012 10:36 am

Re: Web UI in PHP (revised)

Hi men !

I have installed Serviio in /usr/local/bin/serviio and I have put the webUI folder in another place.

So, when I put localhost/www/webui/ the page is all withe !

Why ?

What's the correct setting ?!

Thank you
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Mon Oct 15, 2012 10:19 pm

Re: Web UI in PHP (revised)

anerDev wrote:Hi men !

I have installed Serviio in /usr/local/bin/serviio and I have put the webUI folder in another place.

So, when I put localhost/www/webui/ the page is all withe !

Why ?

What's the correct setting ?!

Thank you

Greetings! Sorry you are having some difficulties. Be sure to check the web server requirements to make sure everything is installed. You can find those on the wiki (link in my sig). Also, use your Apache log files to further troubleshoot the problem. Let us know your progress and any other question you might have.
Cheers!
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Tue Oct 16, 2012 6:52 am

Re: Web UI in PHP (revised)

Hi,

Thank you for the response !

I use in the Ubuntu Server, Lamp server and it work perfect !

So, in the web ui I need to set the folder of the application ? In my case is /usr/local/bin
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Fri Oct 19, 2012 12:11 am

Re: Web UI in PHP (revised)

anerDev wrote:Hi,

Thank you for the response !

I use in the Ubuntu Server, Lamp server and it work perfect !

So, in the web ui I need to set the folder of the application ? In my case is /usr/local/bin

It's not necessary to specify the path anywhere. It should work with no configuration changes.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Oct 19, 2012 12:30 am

Re: Web UI in PHP (revised)

Hi Mark, any news or updates on the new version?
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 Fri Oct 19, 2012 12:39 am

Re: Web UI in PHP (revised)

Xmantium wrote:Hi Mark, any news or updates on the new version?

Haven't been able to put all the pieces together, but I think you'll be pleased. My original plan was to wait until Serviio 1.1, but some of the WebUI enhancements (many relating to tablet use) should be ready to be released soon. Still taking requests on any updates that might enhance Web UI. :)
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Oct 19, 2012 12:50 am

Re: Web UI in PHP (revised)

Thats excellent news!

Is there a BitBucket or Redmine page you can set up so users can add ideas or bugs
This way it can be followed and tracked :)

Also can you add Google Wallet for donation?
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 Fri Oct 19, 2012 1:02 am

Re: Web UI in PHP (revised)

npuser wrote:Mark - is it possible to implement Mediabrowser link in remote.php to read pc5dczc_host variable instead? That way, we could run/install web console in separate web server and still be be able to launch mediabrowser from original serviio server.

I have my web console in NAS but my serviio instance is in Ubuntu headless.

remote.php
  Code:
<div style="float: left;">
    <a href="http://<?php echo $pc5dczc_host;?>:23424/mediabrowser/" target="_blank">Open MediaBrowser</a>
</div>


NPuser

Do you change your $pc5dczc_host config.php to something other than 127.0.0.1? I wonder if I need to add another config.php option to keep the options flexible. Thoughts?
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Fri Oct 19, 2012 1:25 am

Re: Web UI in PHP (revised)

Xmantium wrote:Thats excellent news!

Is there a BitBucket or Redmine page you can set up so users can add ideas or bugs
This way it can be followed and tracked :)

Also can you add Google Wallet for donation?

Ah, good point. I have a GitHub site that houses the souce and it has an issues area to posts enhancements, bugs, etc. Go here. I'll also put it in my sig line. And Google Wallet will be available shortly.
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Fri Oct 19, 2012 5:58 am

Re: Web UI in PHP (revised)

Any idea why don't work on my Ubuntu server ???

Thank you
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Sat Oct 20, 2012 8:37 pm

Re: Web UI in PHP (revised)

mpemberton5 wrote:
npuser wrote:Mark - is it possible to implement Mediabrowser link in remote.php to read pc5dczc_host variable instead? That way, we could run/install web console in separate web server and still be be able to launch mediabrowser from original serviio server.

I have my web console in NAS but my serviio instance is in Ubuntu headless.

remote.php
  Code:
<div style="float: left;">
    <a href="http://<?php echo $pc5dczc_host;?>:23424/mediabrowser/" target="_blank">Open MediaBrowser</a>
</div>


NPuser

Do you change your $pc5dczc_host config.php to something other than 127.0.0.1? I wonder if I need to add another config.php option to keep the options flexible. Thoughts?


I do. i have serviio server at 10.10.200.1 and webui at 10.10.200.15. i usually update $pc5dczc_hostin webui to reflect my serviio server at 10.10.200.1.

I would think letting user add multiple serviio servers via webui be nice. For that, i think, you will have to save servers list to a webroot text file and read it onload to populate listbox with server IPs to pick from. Or just a second pc5dczc_server variable in config.php is suffice to do this manually. Either way, this type of usage/setup is not standard setup, only few of us will use it. So technically it is a non-issue, but still i thought i throw it out there.

npuser
<<

elsalvador

Serviio newbie

Posts: 12

Joined: Tue Oct 23, 2012 5:29 pm

Post Tue Oct 23, 2012 5:43 pm

Re: Web UI in PHP (revised)

Hi Guys,

Can I ask for a little help please?
I'm soooo close to getting the webUI working, and it looks perfect!
I'm no expert (far from it) but I have (I think) got the basics, although there are probably some details I've missed.
Ubuntu 12.04 server (headless) install, serviio 1.01 installed (er.. I think, but I can;'t test it without the webUI...)
I've got the apache2 installed, along with php5 and a smattering of Curl and XML bits, DOM also there...

Attached is a phpinfo output which might help.

The error I'm getting is when I try to set anything & save it in the webGUI a popup saing "Error: parsererror"
I've looked through all the posts and added all the bits I can from those notes, chown www-data, separate directory, all to no avail so far.

Assistance gratefully received.
many thanks in advance
elsalvador
Attachments
phpinfo.txt
looks to me like it's all there...sorry it's just text, but apparently not allowed html.
(20.29 KiB) Downloaded 935 times
<<

elsalvador

Serviio newbie

Posts: 12

Joined: Tue Oct 23, 2012 5:29 pm

Post Tue Oct 23, 2012 8:40 pm

Re: Web UI in PHP (revised)

SOLVED - "Error: parsererror"

The server needs to be running & have a PID number, as output from the command initctl list
Once that's OK (so you've checked - and corrected - the script location in the /etc/init/serviio.conf file)
Then the webGUI will actually do something!
You can now retry & it saves without error.
So everything (and probably a whole lot more) was installed OK.

Will probably work on a definitive list of what's needed, as the wiki description is a little vague for us noobs.
Needed to ask though!
:mrgreen:
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Tue Oct 23, 2012 8:54 pm

Re: Web UI in PHP (revised)

Who Can help me ?? Thank
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Tue Oct 23, 2012 10:31 pm

Re: Web UI in PHP (revised)

elsalvador wrote:Hi Guys,

Can I ask for a little help please?
I'm soooo close to getting the webUI working, and it looks perfect!
I'm no expert (far from it) but I have (I think) got the basics, although there are probably some details I've missed.
Ubuntu 12.04 server (headless) install, serviio 1.01 installed (er.. I think, but I can;'t test it without the webUI...)
I've got the apache2 installed, along with php5 and a smattering of Curl and XML bits, DOM also there...

Attached is a phpinfo output which might help.

The error I'm getting is when I try to set anything & save it in the webGUI a popup saing "Error: parsererror"
I've looked through all the posts and added all the bits I can from those notes, chown www-data, separate directory, all to no avail so far.

Assistance gratefully received.
many thanks in advance
elsalvador



Looks like u have curl and php but curl for php module.. Try following
  Code:
  Code:
apt-get install php5-curl
/etc/init.d/apache2 restart


Npuser
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Tue Oct 23, 2012 10:33 pm

Re: Web UI in PHP (revised)

anerDev wrote:Who Can help me ?? Thank


What's the issue? Can you give us more info?

Npuser
<<

greenythebeast

Serviio newbie

Posts: 11

Joined: Fri Feb 24, 2012 10:12 am

Post Thu Nov 01, 2012 2:48 am

Re: Web UI in PHP (revised)

Will this run on nginx or lighttpd?
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 30 guests

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