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

quicksketch’s picture

Status: Active » Closed (won't fix)

Please search the queue. I've answered this a dozen times.

manoloka’s picture

You may have answered this many times but this is the only post that shows for the keyword
"multi site"

joetsuihk’s picture

#409884: a way to refresh filepaths stored in database? in short, core issue, un-fixable in this module.