[eluser]kierownik[/eluser]
I think that you should rename
Code:
$data['error'] = array('error'=>$this->upload->display_errors());
to
Code:
$data['error'] = array('upload_error'=>$this->upload->display_errors());
I get the sense that that array gets overwritten.
Then in your viewfile you should also rename it.