Page 1 of 1

category and file not downloadable

Posted: 22 Jan 2011, 15:57
by ced1870
I've created a category and a file inside. All is public level.
On frontend when I try to download the file, in the category I have this warning and no file is listed :
Warning: Invalid argument supplied for foreach() in /home/user/public_html/myfolder/administrator/components/com_phocadownload/helpers/phocadownload.php on line 706
Category
PHOCADOWNLOAD_NO_RIGHTS_ACCESS_CATEGORY
I'm working on Joomla 1.6 and phoca downloads RC1
Could you tell me how to make it working ?

Thanks, however phoca makes really good components !

Re: category and file not downloadable

Posted: 24 Jan 2011, 14:32
by ced1870
tested on the line indicated :

Code: Select all

var_dump($userAID);
returns
int(0)


Already uninstalled/reinstalled, non change!.Please help

Re: category and file not downloadable

Posted: 24 Jan 2011, 15:03
by ced1870
in admin 'users' tab does not list my user. this could be a way to search for ?

For information, I've installed J! 1.6.0 blank (without sample data).

Re: category and file not downloadable

Posted: 24 Jan 2011, 16:12
by Jan
Hi, try to enable debug mode to get info about problems in database (first topic)

Users - you can see listed users in user manager of joomla, in Phoca Gallery users list only users who have made album (category) are listed.

Jan

Re: category and file not downloadable

Posted: 25 Jan 2011, 13:52
by ced1870
Hi
I've solved the issue, all is my bad ! :evil:

I had updated a template from joomla!1.5 to 1.6 and had not replaced the override of phoca download ! So it was loading the 1.5 category file view... oups.
Thanks for this great component !!! :twisted:

Re: category and file not downloadable

Posted: 25 Jan 2011, 16:36
by Jan
Ok