[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);