One of my clients is getting this error when trying to import images to his photostore (php application) Code: [Tue Dec 15 16:13:27 2015] [warn] [client 33.32.44.139] mod_fcgid: stderr: PHP Warning: move_uploaded_file(): Unable to move '/var/www/clients/client27/web75/tmp/phpiDRa0F' to '../ftp/i_LI4A5212.JPG' in /var/www/clients/client27/web75/web/manager/uploadHandler.php on line 0 [Tue Dec 15 16:13:27 2015] [warn] [client 33.32.44.139] mod_fcgid: stderr: PHP Warning: move_uploaded_file(../ftp/m_LI4A5212.JPG): failed to open stream: No such file or directory in /var/www/clients/client27/web75/web/manager/uploadHandler.php on line 0 All the files/folders are owned by client27:web75 Any ideas how to fix this?
FYI: Sub-folder named "ftp" was missing. Re-creating sub-folder and giving correct ownership+permission fixed the issue.