mpemberton5 wrote: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>
Hi Guys,
Installed OK, and was fine for a while, certain I've changed nothing (not even OS updates) and now I can't add or delete Library Folders.
Save looks like it works OK, (saving...Saved!) but when page is refreshed the Folder List hasn't changed.
Have searched this forum for this issue and the log error saying "ConversionException".
Found the note quoted above and made the change as suggested to "-1" but didn't fix it.
Here's the full log entry:
2013-01-03 17:36:50,323 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
-------------------------------
I can confirm that the installation hasn't changed as I run two nearly-identical boxes and they both are doing the same...and there's no such thing as coincidence! I just checked and both installations are still identical as far as /var/www/serviio and the main pc5dczc_1.01 programs etc directories are concerned.
Ubuntu 12.04.1 LAMP server, with Serviio 1.01 and PHP webUI ver 1.2
Please advise how to debug further.
I would dearly love to find an answer if anyone cares to help, huge thanks in advance.
Thanks
PS - I'm going to do a fresh install on a fresh Ubuntu 12.04.1i dentically just to see if it's that license thing...Will advise.