title: CodeIgniter: The upload path does not appear to be valid
body: <p>I am getting this error in the upload functionality for CodeIgniter Image upload.</p>
  
  <p><strong>The upload path does not appear to be valid</strong></p>
  
  <p>This problem started happening after I uploaded the site from my local system to my live system.</p>
  
  <p>I am adding my code below. I don't know what is wrong. I have gone through all the other forums on this. But nothing helped.</p>
  
  <pre><code>    $config['upload_path'] = 'uploads';
      $config['allowed_types'] = 'gif|jpg|png|jpeg|pdf';
      $this-&gt;load-&gt;library('upload',$config);     
      $this-&gt;upload-&gt;initialize($config);
  </code></pre>
  
  <p>The folder has full permissions, and as I said it was working on my local system. Not sure what the issue could be. Any help will be greatly appreciated.</p>