[eluser]pickupman[/eluser]
Try this:
Code:
//In View
$this->load->helper('form');
$this->load->helper('url');
echo $this->upload->display_errors('<p>', '</p>');
echo form_open_multipart('upload/do_upload');
echo '<p>'.form_label('Choose Image','userfile').'<br/>'.form_upload('userfile').'</p>';
echo '<p>'.form_submit('mysubmit', 'Submit Post!').'</p>';
echo form_close();
It appears you were not setting the field name for the file input. This should help. If you are able to upload, but you are getting errors you may want to check file permissions on your temporary folder. Run phpinfo() function and find the temp folder. Probably c:\windows\temp( or tmp) and make sure it has write permissions.