Error in 'Phoca Download Configuration'

Phoca Download - download manager
binovo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Feb 2011, 12:51

Error in 'Phoca Download Configuration'

Post 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
Last edited by binovo on 04 Mar 2011, 11:34, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in 'Phoca Download Configuration'

Post 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
If you find Phoca extensions useful, please support the project
binovo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Feb 2011, 12:51

Re: Error in 'Phoca Download Configuration'

Post by binovo »

Thx, Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in 'Phoca Download Configuration'

Post by Jan »

Will be fixed in next version.

Jan
If you find Phoca extensions useful, please support the project
binovo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Feb 2011, 12:51

Re: Error in 'Phoca Download Configuration'

Post by binovo »

Fixed in version 2.0.0 RC2. :twisted: :lol:

Thx
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in 'Phoca Download Configuration'

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply