Welcome Guest, Not a member yet? Register   Sign In
"The upload path does not appear to be valid" (PULLING MY HAIR OUT !!!!) [SOLVED]
#5

[eluser]tison[/eluser]
All, i was having this issue on a local windows installation. After some debugging, i found that although i was passing the config variables when loading the library, they were not being read properly.

In any case - to fix it, I simply called the initialization script right after i loaded the library, like so:

Code:
$config['upload_path'] = 'uploads';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '2048';
$config['max_width'] = '1024';
$config['max_height'] = '768';

$this->load->library('upload', $config);
$this->upload->initialize($config);


Messages In This Thread
"The upload path does not appear to be valid" (PULLING MY HAIR OUT !!!!) [SOLVED] - by El Forum - 11-07-2009, 06:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB