You did not select a file to upload. PHP Code Igniter
Change:
$this->upload->do_upload()
To this:
$this->upload->do_upload('my_file_input_name')
and it will work!! :)
Your form type should be "multipart"
Change your form tag to:
<?php echo form_open_multipart('search/post_func');?>