Config:
********
drupal 5.5
upload module on.
Permission to view download for authorized user is on
Upload of file is ok ( they are in /files directory )
the files table in the database is ok (for file :Circulaire 2006 02 23.pdf the path is: files/Circulaire 2006 02 23_0.pdf )
The Issue:
**********
I get a Acces denied when I try to download a file (except for uid=1 => i can download the file )...
I think it is because I ve switched between private => public =>private
Details:
***********
the problem seems to be a bad URL/path to the file
actualy the url is http://mysite.com/system/files/Circulaire+2006+02+23_0.pdf
I have iddentified 2 source of problem in my case :
1) the system in the URL => remove it from your browser
2)It seems that the problem comes from the + (inserted in the URL when you have space in yours name's file ) they should be %20
=> replace + by %20
Now auth users should be able to access the document ... (tested in Firefox and Safari) with this url:
http://mysite.com/files/Circulaire%202006%2002%2023_0.pdf
the stranger is that when I have uid=1 I dont need to do this two steps to get my file ....
Why this system in the path ....? How can I remove it ...?
Any ideas to solve the bug ...?
Any help will be really appreciate
I try to change the theme to Minneli but I get the same problem ...
Maybe that a fast/crapy fix will be to correct URL in the template engine ( with php template ) but i'm not sure of that and not an expert in phptemplate ...
thx for help ...