title: Strange Upload Issue
body: <p>I have a file upload issue.</p>
  
  <p>I have done 777 via ftp and file manager</p>
  
  <p>drwxrwxrwx 2 user user 4096 Apr 10 08:56 gallery/
  drwxrwxrwx 2 user user 4096 Apr 10 10:30 sales/</p>
  
  <p>I have echoed the <code>$file_info</code> and the location shows as correct but the file is not uploading:</p>
  
  <pre><code>//Set File Settings 
  $config['upload_path'] = 'includes/uploads/gallery/'; 
  $config['allowed_types'] = 'jpg|png'; 
  $config['max_size'] = '100'; 
  $config['max_width'] = '1024'; 
  $config['max_height'] = '768'; 
  
  $this-&gt;load-&gt;library('upload', $config); 
  $this-&gt;upload-&gt;do_upload();
  $file_info = $this-&gt;upload-&gt;data();
  
  $data = array(   
      'description' =&gt; $this-&gt;input-&gt;post('description', TRUE), 
      'path' =&gt; $file_info['file_name'] 
      ); 
  
  $this-&gt;image_model-&gt;addImage($data); 
  </code></pre>