Re: Web UI in PHP (revised)
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 wrote:anybody else having issues with HTTP 500 errors?
TIA.
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
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.
will wrote: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
Strupniveral wrote:I'm not sure if I'm the first one who didn't go PRO or I missed the proper post, but today my trial license expired this morning and I stated to get few "variable undefined" notifications on each webui page (messages refers to id, type, name, email, expiresInMinutes in lib/serviio.php file).
This is due to the fact such variables are initialized in the following "foreach" loop:
and, if no license is available, such variables are not initialized.
This can be solved initializing such variables with empty strings just before the mentioned loop, with something like:
HTH,
Luca
dukeplc wrote:will wrote: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
*slapping forehead*
That did it. Thanks. Sorry for the intrusion, but I'd searched for a day on this topic and I seemed to be the only one having this issue. Is curl a new requirement, because I swear I had this running with a previous version.
and thanks again for great product. Point me toward a donate page please.
mpemberton5 wrote:Strupniveral wrote:I'm not sure if I'm the first one who didn't go PRO or I missed the proper post, but today my trial license expired this morning and I stated to get few "variable undefined" notifications on each webui page (messages refers to id, type, name, email, expiresInMinutes in lib/serviio.php file).
This is due to the fact such variables are initialized in the following "foreach" loop:
and, if no license is available, such variables are not initialized.
This can be solved initializing such variables with empty strings just before the mentioned loop, with something like:
HTH,
Luca
Yikes, a bit embarrassed about that. Pretty obvious that wasn't in my testing plan. Thanks for the post. I'll update the code.
Blessings,
Mark
2012-09-25 22:46:44,767 WARN [ServiioStatusService] ConversionException occured. Returning error code 500 to the REST layer. Message: Zero length string : Zero length string
---- Debugging information ----
message : Zero length string
cause-exception : java.lang.NumberFormatException
cause-message : Zero length string
class : java.lang.Long
required-type : java.lang.Long
converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter : com.thoughtworks.xstream.converters.basic.LongConverter
path : /repository/sharedFolders/sharedFolder/accessGroupIds/id
class[1] : java.util.LinkedHashSet
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2] : org.serviio.ui.representation.SharedFolder
converter-type[2] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[3] : java.util.ArrayList
class[4] : org.serviio.ui.representation.RepositoryRepresentation
version : null
-------------------------------
Return to Third-party tools integration
Users browsing this forum: No registered users and 2 guests