title: PHP Codeigniter uploads failing silently, no error log, no errors, nothing
body: <p>I've almost taken this exactly as is from the CI docs, made some minor alterations to suit my needs but overall nothing significant. The folder I am attempting to upload to exists and has <code>777</code> set to its permissions.</p>
  
  <p>The controller:</p>
  
  <pre><code>    if($this-&gt;input-&gt;post('uploads'))
      {
          $config['upload_path'] = realpath(APPPATH.'../images');
          $config['allowed_types'] = 'gif|jpg|png';
          $config['max_size'] = 0;
          $config['max_width']  = 0;
          $config['max_height']  = 0;
          $config['remove_spaces'] = true;
  
          $this-&gt;load-&gt;library('upload', $config);
  
          if (!$this-&gt;upload-&gt;do_upload())
          {
              $data['errors'] = $this-&gt;upload-&gt;display_errors();
          }
          else
          {
              $data['upload_data'] = $this-&gt;upload-&gt;data();
          }
      }
  </code></pre>
  
  <p>The View:</p>
  
  <pre><code>&lt;?php
  if(isset($errors))
  {
      $this-&gt;genfunc-&gt;debugArray($errors);
  }
  if(isset($upload_data))
  {
       $this-&gt;genfunc-&gt;debugArray($upload_data, 'php');
  }
  ?&gt;
  
  &lt;div id="gallery"&gt;
      &lt;?php if (isset($images) &amp;&amp; count($images)):
          foreach($images as $image): ?&gt;
          &lt;div class="thumb"&gt;
              &lt;a href="&lt;?php echo $image['url']; ?&gt;"&gt;
                  &lt;img src="&lt;?php echo $image['thumb_url']; ?&gt;" /&gt;
              &lt;/a&gt;                
          &lt;/div&gt;
      &lt;?php endforeach; else: ?&gt;
          &lt;div id="blank_gallery"&gt;Please Upload an Image&lt;/div&gt;
      &lt;?php endif; ?&gt;
  &lt;/div&gt;
  
  &lt;div id="upload"&gt;
      &lt;?php
      echo form_open_multipart('upload');
      echo form_upload('userfile');
      echo form_submit('uploads', 'Upload');
      echo form_close();
      ?&gt;      
  &lt;/div&gt;
  </code></pre>
  
  <p>The view is loaded as well, everything currently gets sent back to the same page, which is expected. But having taken from the CI example in the Docs, and going over everything I see no reason why this shouldnt be working. Hoping someone can shed some light on it, maybe I am missing something?</p>