title: $_FILES empty when uploading Magento package
body: <p>I am trying to install a Magento package, but I get <code>No file was uploaded</code></p>
  
  <p>Its coming from this code because <code>$_FILES</code> is an empty array in <code>/downloader/Maged/Controller.php</code></p>
  
  <pre><code>/**
   * Install uploaded package
   */
  public function connectInstallPackageUploadAction()
  {
      if (!$_FILES) {
          echo "No file was uploaded";
          return;
      }
  
      if(empty($_FILES['file'])) {
          echo "No file was uploaded";
          return;
      }
  
      $info =&amp; $_FILES['file'];
  
      if(0 !== intval($info['error'])) {
          echo "File upload problem";
          return;
      }
  
      $target = $this-&gt;_mageDir . DS . "var/" . uniqid() . $info['name'];
      $res = move_uploaded_file($info['tmp_name'], $target);
      if(false === $res) {
          echo "Error moving uploaded file";
          return;
      }
  
      $this-&gt;model('connect', true)-&gt;installUploadedPackage($target);
      @unlink($target);
  }
  </code></pre>
  
  <p>It might be worth noting that product uploads work fine.</p>
  
  <p>The only log output I get is</p>
  
  <blockquote>
    <p>2014-07-03T18:44:15+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/example.com/httpdocs/app/code/core/Mage/Captcha/Model/Observer.php on line 166</p>
  </blockquote>
  
  <p><code>exception.log</code> was empty</p>