I got this error when i am uploading a pdf of size 8 MB using MsUpload "The file you submitted was empty". Please help me .
Topic on Project:Support desk
In case you are still listening, some standard advice on debugging:
First, add
error_reporting( -1 ); ini_set( 'display_errors', 1 );
to your LocalSettings.php file and see if any errors are displayed. If none are, try enabling debugging and see if the file shows you anything.
I have multiple MediaWiki instances hosted on a single server. Users reported that they were getting file upload error "The file you submitted was empty" for few instances. When I checked Apache error log , found the error " “write failed: No space left on device”. So finally the issue was due to lack of space on server. Once ample space was created, the file upload error was automatically resolved.