Page 1 of 1

Error in 'Phoca Download Configuration'

Posted: 07 Feb 2011, 13:10
by binovo
Hi all:

I'm having an issue in 'Phoca Download Configuration' popup (version 2.0.0 RC with J!1.6).

Code: Select all

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/Joomla_1.6.0-Spanish-Pack_Completo/libraries/joomla/form/fields/text.php on line 50...
It seem that registered_access_level field has a mystake in config.xml. If I drop this field in config.xml the error dissapears and if I change its definition it dissapears too, but I don't know if the change is correct or not. In line 351:

Code: Select all

<field name="registered_access_level" type="phocaaccesslevel" label="COM_PHOCADOWNLOAD_FIELD_REGISTERED_ACCESS_LEVEL_LABEL" description="COM_PHOCADOWNLOAD_FIELD_REGISTERED_ACCESS_LEVEL_DESC" multiple="true" size="10" >
By:

Code: Select all

<field name="registered_access_level" type="accesslevel" label="COM_PHOCADOWNLOAD_FIELD_REGISTERED_ACCESS_LEVEL_LABEL" description="COM_PHOCADOWNLOAD_FIELD_REGISTERED_ACCESS_LEVEL_DESC" multiple="true" size="10" >
Thx

Re: Error in 'Phoca Download Configuration'

Posted: 13 Feb 2011, 15:28
by Jan
Hi, if you get problem here:

joomla/form/fields/text.php

then it is caused by "type="text"" field, not by accesslevel type so this is caused by some other elemnt, I will do some tests for the next version.

Jan

Re: Error in 'Phoca Download Configuration'

Posted: 16 Feb 2011, 16:39
by binovo
Thx, Jan

Re: Error in 'Phoca Download Configuration'

Posted: 18 Feb 2011, 02:10
by Jan
Will be fixed in next version.

Jan

Re: Error in 'Phoca Download Configuration'

Posted: 04 Mar 2011, 11:35
by binovo
Fixed in version 2.0.0 RC2. :twisted: :lol:

Thx

Re: Error in 'Phoca Download Configuration'

Posted: 05 Mar 2011, 17:08
by Jan
Ok