Now get an error if user leaves upload field blank
I am now getting the following error if the user leaves the field blank on submitted the form (even if they is already an uploaded photo).
My guess is to populate a form element and use this as the default file part but I can't get it to work. Can you help please?
Warning: chmod() [function.chmod]: No such file or directory in /users/thomas740/www.thomash.co.uk/testing/users_Profile_edit.php on line 127
Warning: chmod() [function.chmod]: No such file or directory in /users/thomas740/www.thomash.co.uk/testing/users_Profile_edit.php on line 128
Warning: Cannot modify header information - headers already sent by (output started at /users/thomas740/www.thomash.co.uk/testing/users_Profile_edit.php:127) in /users/thomas740/www.thomash.co.uk/testing/users_Profile_edit.php on line 186