Welcome Guest, Not a member yet? Register   Sign In
why is my upload path not valid ?
#1

[eluser]vincej[/eluser]
Hi - I keep getting the same error:

"The upload path does not appear to be valid."

My tmp folder is underneath 'application'. I have tried adding 'application' to the path, but this made no difference. I'm making a newbie syntax mistake somewhere - but beats me where.

My upload path is specified as:

Code:
$config['upload_path'] = '/tmp/';
$config['allowed_types'] = 'csv';
$config['max_size'] = '2000';
$config['remove_spaces'] = true;
$config['overwrite'] = true;
$this->load->library('upload', $config);


Many thanks for all suggestions !





Theme © iAndrew 2016 - Forum software by © MyBB