A couple of days ago I updated some files in a wordpress installation on our server. Since then whenever I try and upload a file through wordpress I get the error:
"The uploaded file could not be moved to ..."
The error is occuring at the call to move_uploaded_file in function wp_handle_upload in admin_functions.php. The strange thing is that by that time it should have passed the file tests, and the error code return in $file['error'] is 0. But move_uploaded_file is returning false.
We've checked permissions on the server and it all looks ok. I wonder if there's anything else I might have missed?