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 Fri Aug 24, 2012 10:10 pm

Re: Web UI in PHP (revised)

jhb50 wrote:My pleasure. Do you have a target Android browser you want it to work with. Firefox Android is new so it may have problems that are not your problems. How about the Chrome one mentioned above. I have not tried it (Or seen it available for Android 2.3 Gingerbread)

I've not tested all browsers, but would really like to support most of the popular ones. I'll go ahead and include some browser specific testing on the Android, specifically FF Android. I think we're good with Chrome on Android, but will re-test that too.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Aug 24, 2012 11:24 pm

Re: Web UI in PHP (revised)

jhb50 wrote:How about the Chrome one mentioned above. I have not tried it (Or seen it available for Android 2.3 Gingerbread)

Ah, Officially Chrome for Android is for ICS or Jellybean only, free from Google Play, syncs instantly from your PC/Mac
Unofficially I've read it can be installed on Gingerbread unless you upgrade to the "butter smooth" Jellybean 4.1 or ICS 4.0 ;)
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
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Aug 25, 2012 4:11 pm

Re: Web UI in PHP (revised)

Looks like a big bug here!
Used the UI to disable all but a few of my online sources then saved it and restarted SErviio, but the original set stayed. Tried again and after saving reloaded the Serviio console and original set was still there. Looks like save is not working.

Here is the Serviio log error.
  Code:
2012-08-25 12:14:11,394 WARN  [ServiioStatusService] ConversionException occured. Returning error code 500 to the REST layer. Message: For input string: "unlimited" : For input string: "unlimited"
---- Debugging information ----
message             : For input string: "unlimited"
cause-exception     : java.lang.NumberFormatException
cause-message       : For input string: "unlimited"
class               : java.lang.Integer
required-type       : java.lang.Integer
converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   : com.thoughtworks.xstream.converters.basic.IntConverter
path                : /repository/maxNumberOfItemsForOnlineFeeds
class[1]            : org.serviio.ui.representation.RepositoryRepresentation
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
version             : null
-------------------------------
2012-08-25 12:14:11,394 DEBUG [ServiioStatusService] Detailed exception:
com.thoughtworks.xstream.converters.ConversionException: For input string: "unlimited" : For input string: "unlimited"
---- Debugging information ----
message             : For input string: "unlimited"
cause-exception     : java.lang.NumberFormatException
cause-message       : For input string: "unlimited"
class               : java.lang.Integer
required-type       : java.lang.Integer
converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   : com.thoughtworks.xstream.converters.basic.IntConverter
path                : /repository/maxNumberOfItemsForOnlineFeeds
class[1]            : org.serviio.ui.representation.RepositoryRepresentation
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
version             : null
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1052)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1036)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:921)
   at org.restlet.ext.xstream.XstreamRepresentation.getObject(XstreamRepresentation.java:163)
   at org.restlet.ext.xstream.XstreamConverter.toObject(XstreamConverter.java:197)
   at org.restlet.service.ConverterService.toObject(ConverterService.java:158)
   at org.restlet.resource.UniformResource.toObject(UniformResource.java:644)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:431)
   at org.restlet.resource.ServerResource.put(ServerResource.java:1170)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:521)
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
   at org.restlet.resource.Finder.handle(Finder.java:510)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
   at org.restlet.Application.handle(Application.java:388)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.Component.handle(Component.java:388)
   at org.restlet.Server.handle(Server.java:488)
   at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
   at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
   at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
   at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
   at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: "unlimited"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Long.parseLong(Unknown Source)
   at java.lang.Long.valueOf(Unknown Source)
   at java.lang.Long.decode(Unknown Source)
   at com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:27)
   at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41)
   at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 63 more
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Aug 25, 2012 4:33 pm

Re: Web UI in PHP (revised)

The string 'unlimited' needs to be replaced with -1 before sending it to Serviio, that's what is causing the problem.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Aug 26, 2012 1:29 am

Re: Web UI in PHP (revised)

Am I supposed to do that? How?
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sun Aug 26, 2012 2:03 am

Re: Web UI in PHP (revised)

jhb50 wrote:Am I supposed to do that? How?

This is my issue. I've tested the change and is an easy change. If you need the change now and feel comfortable editing the script, see below. Otherwise, I'll post a full release in the next day or two.

To manually fix this bug, please edit library.php found in the view folder located in the application root folder (under serviioweb). Edit line 164 and change the two lowercase "unlimited" to "-1".

Before:
  Code:
                        <option value="unlimited"<?php echo $serviio->maxNumberOfItemsForOnlineFeeds=="unlimited"?" selected":""?>>Unlimited</option>


After:
  Code:
                        <option value="-1"<?php echo $serviio->maxNumberOfItemsForOnlineFeeds=="-1"?" selected":""?>>Unlimited</option>
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Aug 26, 2012 2:32 am

Re: Web UI in PHP (revised)

Thanks Mark. Easy fix and the save now works.
<<

AlexSP

Serviio newbie

Posts: 8

Joined: Sun May 13, 2012 7:09 pm

Location: Saint-Petersburg, Russia

Post Fri Sep 14, 2012 6:07 pm

Re: Web UI in PHP (revised)

Hello everybody
I'm trying tio use WebUI v 1.2 with Serviio v 1.0.1
Made changes to my Online sources, pressed Save and saw Error saving data! (file:/// ...
How can I solve it?
LOG:
  Code:
2012-09-14 21:59:13,438 INFO  [MediaServer] ------------------------------------------------------------------------
2012-09-14 21:59:13,440 INFO  [MediaServer] Serviio DLNA media streaming server v 1.0.1 (rev. 6dbf7c6e334f+)
2012-09-14 21:59:13,440 INFO  [MediaServer] Petr Nejedly 2009-2012
2012-09-14 21:59:13,440 INFO  [MediaServer] http://www.serviio.org
2012-09-14 21:59:13,441 INFO  [MediaServer]
2012-09-14 21:59:13,441 INFO  [MediaServer] Java 1.6.0_23-Sun Microsystems Inc.
2012-09-14 21:59:13,441 INFO  [MediaServer] OS Windows 7 x86 6.1
2012-09-14 21:59:13,441 INFO  [MediaServer] File encoding: windows-1251
2012-09-14 21:59:13,442 INFO  [MediaServer] Headless mode enabled: true
2012-09-14 21:59:13,442 INFO  [MediaServer] User home dir: C:\
2012-09-14 21:59:13,442 INFO  [MediaServer] Temp dir: C:\windows\TEMP\
2012-09-14 21:59:13,442 INFO  [MediaServer] ------------------------------------------------------------------------
2012-09-14 21:59:13,664 INFO  [WebServer] Socket buffer set to 65535 bytes
2012-09-14 21:59:13,666 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2012-09-14 21:59:13,751 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2012-09-14 21:59:13,753 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2012-09-14 21:59:13,782 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2012-09-14 21:59:16,291 INFO  [MediaServer] ------------------------------------------------------------------------
2012-09-14 21:59:16,291 INFO  [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2012-09-14 21:59:16,291 INFO  [MediaServer] ------------------------------------------------------------------------
2012-09-14 21:59:17,069 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2012-09-14 21:59:18,554 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2012-09-14 21:59:19,673 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2012-09-14 21:59:20,303 INFO  [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2012-09-14 21:59:21,291 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2012-09-14 21:59:21,893 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2012-09-14 21:59:22,314 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2012-09-14 21:59:22,487 INFO  [Device] Created UPnP Device with UUID: 83403509-60a4-3ac0-bae1-94340baf2344, bound address: 192.168.1.2
2012-09-14 21:59:23,486 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D/E-series)' (id=7)
2012-09-14 21:59:23,544 INFO  [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2012-09-14 21:59:24,842 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2012-09-14 21:59:26,736 INFO  [ProfilesDefinitionParser] Added profile 'Sony BD Player / SMP' (id=10)
2012-09-14 21:59:27,502 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2012-09-14 21:59:28,023 INFO  [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2012-09-14 21:59:28,090 INFO  [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2012-09-14 21:59:28,380 INFO  [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2012-09-14 21:59:28,534 INFO  [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2012-09-14 21:59:29,124 INFO  [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2012-09-14 21:59:29,229 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2012-09-14 21:59:29,916 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2012-09-14 21:59:30,598 INFO  [ProfilesDefinitionParser] Added profile 'Philips' (id=20)
2012-09-14 21:59:30,868 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2012-09-14 21:59:30,991 INFO  [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2012-09-14 21:59:32,139 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2012-09-14 21:59:32,306 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2012-09-14 21:59:32,468 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2012-09-14 21:59:32,694 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2012-09-14 21:59:32,923 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2012-09-14 21:59:32,959 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2012-09-14 21:59:33,458 INFO  [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2012-09-14 21:59:33,903 INFO  [ProfilesDefinitionParser] Added profile 'ServiiGo' (id=serviigo)
2012-09-14 21:59:33,958 INFO  [PluginCompilerThread] Looking for plugins at C:\Program Files\Serviio\bin\..\plugins
2012-09-14 21:59:33,958 INFO  [PluginCompilerThread] Started looking for plugins
2012-09-14 21:59:33,962 INFO  [UpdateChecker] Checking if a new version is available
2012-09-14 21:59:34,234 INFO  [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2012-09-14 21:59:34,327 INFO  [WebServer] WebServer starting on port 8895
2012-09-14 21:59:34,347 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2012-09-14 21:59:34,349 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2012-09-14 21:59:34,352 INFO  [RendererSearchSender] Searching for Renderer devices
2012-09-14 21:59:34,354 INFO  [RendererExpirationChecker] Starting RendererExpirationChecker
2012-09-14 21:59:34,355 INFO  [EventDispatcher] Starting EventDispatcher
2012-09-14 21:59:34,593 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth3 (3Com 3C940 Gigabit LOM Ethernet Adapter) and address 192.168.1.2, timeout = 0
2012-09-14 21:59:43,745 INFO  [PluginCompilerThread] Added Web Resouce plugin Playlist extractor (Playlist.groovy)
2012-09-14 21:59:43,931 INFO  [PluginCompilerThread] Added Web Resouce plugin Sopcast (Sopcast.groovy)
2012-09-14 22:00:10,254 INFO  [FeedUpdaterThread] Started looking for information about online resources
2012-09-14 22:00:10,271 INFO  [LibraryAdditionsCheckerThread] Started looking for newly added files
2012-09-14 22:00:10,333 INFO  [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2012-09-14 22:00:10,341 INFO  [PlaylistMaintainerThread] Started looking playlist changes
2012-09-14 22:00:10,638 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from file:/E:/SOFT/IPTV/HOMEYYY-tVIDEOYYY.m3u. Message: No plugin for web resource file:/E:/SOFT/IPTV/HOMEYYY-tVIDEOYYY.m3u has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
2012-09-14 22:00:10,644 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
2012-09-14 22:01:22,300 WARN  [ServiioStatusService] ValidationException occured. Returning error code 400 to the REST layer. Message: null
2012-09-14 22:01:23,119 WARN  [ServiioStatusService] ValidationException occured. Returning error code 400 to the REST layer. Message: null
2012-09-14 22:01:23,342 WARN  [ServiioStatusService] ValidationException occured. Returning error code 400 to the REST layer. Message: null
<<

AlexSP

Serviio newbie

Posts: 8

Joined: Sun May 13, 2012 7:09 pm

Location: Saint-Petersburg, Russia

Post Sat Sep 15, 2012 5:26 pm

Re: Web UI in PHP (revised)

I've solved it.
Url has changed: http://-SW-ufile:///E:/SOFT/IPTV/HOME.m3u-SW-tVIDEO
Last edited by AlexSP on Sat Sep 15, 2012 5:29 pm, edited 2 times in total.
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Sep 15, 2012 5:28 pm

Re: Web UI in PHP (revised)

AlexSP wrote:I've solved it.

What was it?
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Sep 15, 2012 5:47 pm

Re: Web UI in PHP (revised)

Hi Mark, any progress news when new update will be arriving?
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
<<

dukeplc

Serviio newbie

Posts: 4

Joined: Mon Sep 17, 2012 1:26 am

Post Mon Sep 17, 2012 1:28 am

Re: Web UI in PHP (revised)

anybody else having issues with HTTP 500 errors?

I've had the web ui working previously, and after I upgraded Serviio to the latest version I get the internal server error.

TIA.
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Mon Sep 17, 2012 1:52 am

Re: Web UI in PHP (revised)

dukeplc wrote:anybody else having issues with HTTP 500 errors?

TIA.


Nope - its working great here. plz check permission to the folder.

NPuser
Attachments
Capture.JPG
Capture.JPG (34.32 KiB) Viewed 39970 times
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Mon Sep 17, 2012 2:03 am

Re: Web UI in PHP (revised)

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
<<

dukeplc

Serviio newbie

Posts: 4

Joined: Mon Sep 17, 2012 1:26 am

Post Mon Sep 17, 2012 3:22 pm

Re: Web UI in PHP (revised)

npuser wrote:
dukeplc wrote:anybody else having issues with HTTP 500 errors?

TIA.


Nope - its working great here. plz check permission to the folder.

NPuser


Don't believe that to be the issue. Here's what ls -al gives me on the /var/www directory.

total 16
drwxr-xr-x 3 root root 4096 Sep 16 20:02 .
drwxr-xr-x 13 root root 4096 Sep 7 21:32 ..
-rw-r--r-- 1 root root 177 Jul 20 17:20 index.html
drwxrwxrwx 12 www-data www-data 4096 Sep 16 20:12 serviioweb
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Sep 17, 2012 3:28 pm

Re: Web UI in PHP (revised)

Which webui version (should be 1.2)?

Please post a detailed log (see sig) from serviio of you doing something that causes the error.

Also edit /var/www/serviioweb/config.php to turn on its loggin to see if that shows anything that might help.
  Code:
<?php
$language = "en";
$webUIver = "1.2";
$debugLevel = "debug"; // none, debug
$debugLoc = "screen"; // none, screen
$pc5dczc_host = "127.0.0.1";
$pc5dczc_port = "23423";
$version_req = "1.0.1";
...
...
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Mon Sep 17, 2012 3:35 pm

Re: Web UI in PHP (revised)

Pardon for the delay, the next couple of weeks are going to be tough for me. Finally going live on an 18-month project this coming weekend. Thanks for everyone's support with these issues.
<<

dukeplc

Serviio newbie

Posts: 4

Joined: Mon Sep 17, 2012 1:26 am

Post Mon Sep 17, 2012 3:49 pm

Re: Web UI in PHP (revised)

will wrote:Which webui version (should be 1.2)?

Please post a detailed log (see sig) from serviio of you doing something that causes the error.

Also edit /var/www/serviioweb/config.php to turn on its loggin to see if that shows anything that might help.
  Code:
<?php
$language = "en";
$webUIver = "1.2";
$debugLevel = "debug"; // none, debug
$debugLoc = "screen"; // none, screen
$pc5dczc_host = "127.0.0.1";
$pc5dczc_port = "23423";
$version_req = "1.0.1";
...
...



Looks like I'm getting somewhere. Thanks for the help.

BTW, I am running web ui ver 1.2 and serviio ver 1.0.1. I started having trouble when I moved to the latest versions. Android app works wonderful, btw....Kudos.

here's the browser message I get after changing log levels:

Fatal error: Call to undefined function curl_init() in /var/www/serviioweb/lib/RestRequest.inc.php on line 40

serviio.log is clean.
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Mon Sep 17, 2012 3:59 pm

Re: Web UI in PHP (revised)

What operating system? If you are on Linux you might have to install php with curl.

Sent from my DROID RAZR using Tapatalk 2
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Sep 17, 2012 3:59 pm

Re: Web UI in PHP (revised)

Check curl for php is installed (sudo apt-get install php5-curl), if it is follow this http://kb.mediatemple.net/questions/764 ... page%3F#gs and that it is enabled
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 20 guests

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