Closed (fixed)
Project:
FileField
Version:
6.x-3.0-alpha5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2008 at 21:34 UTC
Updated:
5 Feb 2009 at 03:27 UTC
Hi,
Cannot download any files with "private" file download method | drupal.org
I'm using FileField 6.x-3.0-alpha5 on drupal 6.6, and I have exactly the same problem. I logged in as the uid=1 user, but the access was denied.
Sorry if I'm missing something. Any help would be appreciated!
Juyama
Comments
Comment #1
vm commentedDid you do what that thread suggests ? enabling the upload.module and giving permissions ?
Comment #2
juyama commentedThenks for your reply!
Yes, I checked it several times. I enabled upload.module and gave the permission, but it didn't work.
I can access to files which uploaded via upload.module.. I checked permissions of files uploaded via both FileField and upload.module on my server, and these files had same permission(644).
Comment #3
dopry commentedDo you have access content, as uid 1 you should... you need to check out filefield_view_access() and what it is recieving. If you need field level permissions you need to enable the content permissions module and make sure you have access to view your field.
Comment #4
ar-jan commentedDid you find out what was wrong? I just installed a test install of D6.6 with:
Filefield 6.x-3.0-alpha5
Imagefield 6.x-3.0-alpha2
When I set file system to private download method, the image just does not appear, while logged in as user 1.
When set to public download method all is fine.
I have upload module activated.
Permissions are set (although as user 1 that doesn't really matter):
- view imagefield uploads
- access content
- view uploaded files
Very weird. Any clues?
Comment #5
dopry commentedYou can't switch that setting safely... private downloads work for me currently.