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

phoenix’s picture

Status: Active » Closed (fixed)

Problem 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.