admin
Karma: 57
|
Re:Migrating site, unable to download files - 2008/11/11 18:15
Remository is perfectly happy with files located outside the document root. I recommend keeping files outside the document root.
If you are getting that diagnostic, then you should look carefully at the database entry for the file, checking that the path is correct and that the file is in the location specified. You need to take account of the actual file name in the file system having the ID number inserted prior to the extension.
The diagnostic simply depends on a call to the PHP function file_exists() which will work anywhere in the file system, not only within the document root, unless you have restrictions on PHP that prevent it accessing certain areas. You should check that is not the case if all else fails.
Martin Brampton aka Counterpoint http://black-sheep-research.com http://mamboguru.com |