While somebody sends application with attacment there are the error message (below). In fact - company is getting application letter, without attachment, even if there is error message, but no attached files there. Any ideas ow to solve it?
Warning: move_uploaded_file(uploads/1203768562_terms-and-conditions-example.doc) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/- httpd/darbadiena.lv/page_apply.php on line 35
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpLfyBmT' to 'uploads/1203768562_terms-and-conditions-example.doc' in /home/-httpd/darbadiena.lv/page_apply.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/-httpd/darbadiena.lv/page_apply.php:35) in /home/- httpd/darbadiena.lv/_includes/function.redirect_to.php on line 16
Some other errors here also are: http://www.darbadiena.lv/apply-online/
Notice: Undefined variable: apply_name in /home/-httpd/darbadiena.lv/page_apply.php on line 9
Notice: Undefined variable: apply_email in /home/-httpd/darbadiena.lv/page_apply.php on line 13
Notice: Undefined variable: apply_msg in /home/-httpd/darbadiena.lv/page_apply.php on line 17
Notice: Undefined index: apply_cv in /home/-httpd/darbadiena.lv/page_apply.php on line 21
Notice: Undefined variable: apply_email in /home/-httpd/darbadiena.lv/page_apply.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /home/-httpd/darbadiena.lv/page_apply.php:9) in /home/-httpd/darbadiena.lv/_includes/function.redirect_to.php on line 16
Filip, To clarify....in my case...NO error message is shown and applications are received but WITHOUT an attachment. So the solution is to set write permission to /uploads ?