if($a->save($t))
{
$this->session->set_flashdata('success', 'Tip Creado');
redirect("Welcome");
}
//$a->error_message('custom', $this->upload->display_errors()); If I use it this way it works but I would preffer adding the error right after I catch it
So want I want to do is add to the model validation errors the file upload error.. the problem is that (apparently) all errors get deleted when the save method is called... so if I set the error afterwards it does work cause it doesnt get deleted