I am trying to upload media image file from non admin user.The file is getting uploaded successfully. But when it uploads and refreshes thumbnail media view. it gives error "An error occurred in the upload. Please try again later." I have given the nonadmin user role capabilities to upload_files, edit_pages, edit_post, read_post,read_pages for the non-admin user. Also tried adding following in .htaccess file as per this post http://wordpress.org/support/topic/upload-error-5
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
and also tried adding the said code in wp-config.php file as said here http://classforbeginner.blogspot.in/2013/04/wordpress-image-upload-error.html but no lock its giving same error and does not show thumbnail of image just after auto refresh, but files gets uploaded.
but when you load media library again it shows the uploaded file and image can be used in post.
thanks for any suggestions/solutions in advance