Answers.Body: <p>I had the same problem, changing <code>post_max_size</code> in <code>php.ini</code> to something other than 0 (I used 8M) did it for me.</p>
  
  <p>I'm not sure why this works: <code>php.ini</code> says a value of 0 should disable the limit altogether, and this was never an issue on my other Craft installs. Perhaps a bug?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-26T04:56:35.353Z
Answers.LastActivityDate: 2016-08-26T04:56:35.353Z
Answers.UserDisplayName: Paul
Body: <p>I just upgraded Craft to the latest version, and this error now shows up.</p>
  
  <pre><code>The file “myfile.jpg” could not be uploaded, because it exceeds the maximum upload size of 0 B
  </code></pre>
  
  <p>Any fix ? Everything worked fine before the update.
  Thanks !</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-04T18:49:38.883Z
Comments.Text: Is this just 1 file or does it happen with all files?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-06T13:34:07.663Z
Comments.Text: all the files, whatever their size is
Comments.UserDisplayName: ovesco
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-06T19:16:55.937Z
Comments.Text: Enable devMode and try checking your `craft/storage/runtime/logs` files for any related upload errors.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-07T15:32:56.150Z
Comments.Text: So I looked inside the craft.log file, removed everything inside and tried to upload a picture. From the moment when I click "upload file" to the selection of the file and then the javascript alert of 0 B, nothing is written inside the log file.
Comments.UserDisplayName: ovesco
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-07T18:58:35.263Z
Comments.Text: Hrm... anything in your web server's error logs?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-07T18:59:11.890Z
Comments.Text: Also, are you using GD or Imagick and what is the version?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-07T21:03:32.463Z
Comments.Text: GD with php 5.5.12. But everything worked fine until I upgraded craft cms. I think the problem comes from a javascript error as no ajax call is made.
Comments.UserDisplayName: ovesco
Tags: <upload>
Title: File upload - maximum upload size of 0 B
ThreadText: # File upload - maximum upload size of 0 B
  
  (Asked by: username_0 on 2016-01-04)
  
  I just upgraded Craft to the latest version, and this error now shows up.
  
  ```
  The file “myfile.jpg” could not be uploaded, because it exceeds the maximum upload size of 0 B
  
  ```
  
  Any fix ? Everything worked fine before the update.
  Thanks !
  
  **Tags:** upload
  
  > **Comments:**
  > **username_1**: Is this just 1 file or does it happen with all files?  
  > **username_0**: all the files, whatever their size is  
  > **username_1**: Enable devMode and try checking your `craft/storage/runtime/logs` files for any related upload errors.  
  > **username_0**: So I looked inside the craft.log file, removed everything inside and tried to upload a picture. From the moment when I click "upload file" to the selection of the file and then the javascript alert of 0 B, nothing is written inside the log file.  
  > **username_1**: Hrm... anything in your web server's error logs?  
  > **username_1**: Also, are you using GD or Imagick and what is the version?  
  > **username_0**: GD with php 5.5.12. But everything worked fine until I upgraded craft cms. I think the problem comes from a javascript error as no ajax call is made.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-08-26. Score: 2
  
  I had the same problem, changing `post_max_size` in `php.ini` to something other than 0 (I used 8M) did it for me.
  
  I'm not sure why this works: `php.ini` says a value of 0 should disable the limit altogether, and this was never an issue on my other Craft installs. Perhaps a bug?
  
  
  ---
  
  