category and file not downloadable

Phoca Download - download manager
ced1870
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Jan 2011, 12:45

category and file not downloadable

Post 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 !
ced1870
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Jan 2011, 12:45

Re: category and file not downloadable

Post by ced1870 »

tested on the line indicated :

Code: Select all

var_dump($userAID);
returns
int(0)


Already uninstalled/reinstalled, non change!.Please help
ced1870
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Jan 2011, 12:45

Re: category and file not downloadable

Post 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).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: category and file not downloadable

Post 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
If you find Phoca extensions useful, please support the project
ced1870
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Jan 2011, 12:45

Re: category and file not downloadable

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: category and file not downloadable

Post by Jan »

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