The upload path does not appear to be valid”. Codeigniter file upload
The problem usually occurs when a call to $this->load->library('upload', $config)
, may be it does not load the configuration settings, so try adding the following statement after loading the upload library.
$this->upload->initialize($config);
Same problem...solved by
$this->upload->initialize($config);
And better not to use....BASE_URL in $CONFIG['UPLOAD_PATH']
never use base_url() in $CONFIG['UPLOAD_PATH'],
Take note of the dot before the backslash preceding your upload folder. Hence your upload path should look like this
$CONFIG['UPLOAD_PATH'] = './assets/uploads/