Closed (fixed)
Project:
FileField
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 May 2010 at 09:34 UTC
Updated:
17 May 2010 at 10:51 UTC
I created a content type with 2 filefields and 1 imagefield. So far, 6 nodes have been created. 2 are working as expected. For the other 4 I have a path issue.
I get as download link: http://www.mydomain.com/sites/www.mydomain.com/files/sites/www.mydomain.....
The part sites/www.mydomain.com/files gets repeated. This is also for the imagefield. Anyone an idea why this is happening and also why it isn't happening all the time (only 4 on 6 nodes have the problem).
Thanks for any help!
Comments
Comment #1
phoenix commentedProblem solved. Apparently some users uploaded files when surfing to http://mydomain.com instead of http://www.mydomain.com. This gave a difference in the filepath that was saved.
When http://mydomain.com is used, it results in sites/mydomain.com/file.pdf. Else it is sites/www.mydomain.com/file.pdf. Due to this problem paths got unusable when viewed from another url as the upload one.