Error uploading file. An unrecoverable error occurred
This error is for this line in file.module 
241 --if (empty($_POST['form_build_id']) || $form_build_id != $_POST['form_build_id']) {

You should revise your URL