
If uploading with Director fails, it usually due to one of the following problems: HTTP authentication, mod_security or the upload_tmp_dir setting in PHP.
If you have setup HTTP authentication to only allow certain people to access your site, that authentication system will cause uploads to fail in Director. Since Director has its own login system, you can disable your HTTP authentication for just the Director folder. In Director's .htaccess file, add these lines:
Satisfy Any Allow from all
Many servers run Apache's mod_security module, which conflicts with the uploader. Director's default .htaccess file attempts to disable mod_security for uploads, but depending on what version of mod_security is in place, it may not work. If uploads initially fail, you may need to modify your .htaccess file. Make sure the .htaccess file has been uploaded to your install. You may need to turn on hidden files in your FTP client to see the .htaccess file.
If the file is in place and uploads still fail, find this portion of the .htaccess file:
# <IfModule mod_security.c> # SecFilterEngine Off # SecFilterScanPOST Off # </IfModule> <IfModule mod_security.c> SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads" </IfModule>
Change that to read this instead:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
If the upload appears to complete but then redirects to an empty content page, then there is probably an issue with the upload_tmp_dir setting in PHP. Check with your host to ensure that the upload_tmp_dir setting is correct, is writable by the webserver and is not full.