Can not download files

Phoca Download - download manager
ybz
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Apr 2010, 16:09

Can not download files

Post by ybz »

Hello,

We have installed a fresh version of the Phoca download and there is a strange behaviour that we can not explain.

Files were uploaded via the back end and via the upload in the front end.
All files are visible to registered users and this is working fine.

However, only the files that were uploaded from the front end can be downloaded. When we try to download the files that were uploaded from the back end, the download does not happen and we get no error at all. It simply goes back to display the download page.

Clearly the files are not stored in the same place, but all files have the same permissions and access rights, both in the root of the /phocadownload directory (for those that were uploaded from the back end) and in the user directory (for those that were uploaded from the front end).

How this can be solved?

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

Re: Can not download files

Post by Jan »

Hi, did you check the ownership (were both uploaded e.g. with FTP layer or without FTP layer)?
If you find Phoca extensions useful, please support the project
ybz
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Apr 2010, 16:09

Re: Can not download files

Post by ybz »

Yes. The strange thing is the following: Those that were uploaded from the front end got the user owner (as reflected at the 'files' in the backend), while those that were uploaded from the backend got no owner. But, on the filesystem, they are all using the same ownership!

This practice seems to be problematic for several reasons:
1. We have no control over the 'phoca owner' field/value.
2. Clearly there is an internal phoca ownership mechanism that has nothing to do with the system ownership mechanism, which means double set of ownership values.

Please clarify this.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can not download files

Post by Jan »

Hi, there is ownership of files - which is a server settings - it allows you to access the images (e.g. to create thumbnails)

and owner of category - which is Phoca Settings - you can set that category belong to some user - only uploaded files in frontend in the user's category is set as owner for the "images" - thumbnails


Jan
If you find Phoca extensions useful, please support the project
ybz
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Apr 2010, 16:09

Re: Can not download files

Post by ybz »

This is no help. We know how to handle regular server ownership settings, but there is no visual way of handling the phoca internal owner setting.

The main problem is when we are trying to set up the download by massively upload files via the admin panel and they are all become non-owned and therefore users can not download them from the front end.

How can me make it work without being forced to use the front end for massive upload (the flash multiple file uploader does not work for us as well, regardless of the adobe version and OS, but this is another issue)? Is there a way to 'shift' internal phoca ownership?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can not download files

Post by Jan »

The main problem is when we are trying to set up the download by massively upload files via the admin panel and they are all become non-owned and therefore users can not download them from the front end.
Sorry I don't understand, why should users not download non-owned files?
If you find Phoca extensions useful, please support the project
Post Reply