Answers.Body: <p>I had the same problem and all PHP settings were set OK. I couldn't upload a 2MB file, but uploading a 20KB file was fine. </p>
  
  <p>The problem was that the <code>/tmp</code> folder was almost completely full (because PHP stores the temporary file in <code>/tmp</code> before moving it to web/user space i.e. your assets folder). Freeing up space in this folder solved the issue.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-26T14:37:50.630Z
Answers.LastActivityDate: 2016-08-26T14:37:50.630Z
Answers.UserDisplayName: Christian P
Body: <p>We've got all the max settings set up OK as per <a href="https://craftcms.com/support/upload-troubleshooting" rel="nofollow noreferrer">https://craftcms.com/support/upload-troubleshooting</a>, but we are still getting errors. The log file just shows this, nothing more:</p>
  
  <blockquote>
    <p>2014/10/24 11:26:35 [error] [application] Uploaded file was empty</p>
  </blockquote>
  
  <p>What else should we be looking for?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-20T02:15:01.953Z
Comments.Text: @RussBack, did you get this straightened out? We're attempting to round up stagnant questions and would love to know if there's something to learn here.
Comments.UserDisplayName: Matt Stein
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-20T06:44:21.867Z
Comments.Text: We haven't actually. I have a ticket update from Brad to look at - will reply today if I can.
Comments.UserDisplayName: Russ Back
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-12T18:59:45.477Z
Comments.Text: Hey guys, im actually having the same isssue, any insights you could share?
Comments.UserDisplayName: Keith Mancuso
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-29T17:55:26.287Z
Comments.Text: Is it just a particular file, or all files? Can you enable devMode, reproduce the problem and post the stack trace leading up to the error? Also, check and see if you have a `craft/storage/runtime/logs/phperrors.log` file and if anything related is getting logged there.
Comments.UserDisplayName: Brad Bell
Tags: <assets><upload>
Title: Uploaded file was empty
ThreadText: # Uploaded file was empty
  
  (Asked by: username_0 on 2014-10-29)
  
  We've got all the max settings set up OK as per <https://craftcms.com/support/upload-troubleshooting>, but we are still getting errors. The log file just shows this, nothing more:
  
  > 2014/10/24 11:26:35 [error] [application] Uploaded file was empty
  
  What else should we be looking for?
  
  **Tags:** assets, upload
  
  > **Comments:**
  > **username_3**: Is it just a particular file, or all files? Can you enable devMode, reproduce the problem and post the stack trace leading up to the error? Also, check and see if you have a `craft/storage/runtime/logs/phperrors.log` file and if anything related is getting logged there.  
  > **username_1**: @username_0, did you get this straightened out? We're attempting to round up stagnant questions and would love to know if there's something to learn here.  
  > **username_0**: We haven't actually. I have a ticket update from username_3 to look at - will reply today if I can.  
  > **username_2**: Hey guys, im actually having the same isssue, any insights you could share?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2016-08-26. Score: 1
  
  I had the same problem and all PHP settings were set OK. I couldn't upload a 2MB file, but uploading a 20KB file was fine.
  
  The problem was that the `/tmp` folder was almost completely full (because PHP stores the temporary file in `/tmp` before moving it to web/user space i.e. your assets folder). Freeing up space in this folder solved the issue.
  
  
  ---
  
  