Closed (won't fix)
Project:
FileField
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2010 at 04:30 UTC
Updated:
20 Sep 2011 at 10:04 UTC
in multi site, files stored in sites/example.com/files/a.txt
in UAT site, files stored in sites/uat.example.com/files/a.txt
as both path stored in DB, dump DB from UAT and to live do not work, even you upload uat.example.com folder, as filefield find sites/uat.example.com/files/a.txt cannot be found, and try to output the link to sites/example.com/files/sites/uat.example.com/files/a.txt
the solution maybe, detect a multi site config, use files/a.txt as stored path instead of sites/uat.example.com/files/a.txt
Comments
Comment #1
quicksketchPlease search the queue. I've answered this a dozen times.
Comment #2
manoloka commentedYou may have answered this many times but this is the only post that shows for the keyword
"multi site"
Comment #3
joetsuihk commented#409884: a way to refresh filepaths stored in database? in short, core issue, un-fixable in this module.