[SOLVED] Error on uploading files bigger than 10MB

When I try to upload any files bigger than 10mb it gets to 100%, and then, nothing happens.

The weird part is, I already changed the max upload_file_size.

With smaller files, it works

My field upload has nothing out of the ordinary

$crud->set_field_upload('arquivo','assets/uploads/files');

Does anyone have faced the same problem before?

The problem was, the php.ini upload file limit was set to 8MB

hello dear members,
i saw this problem with file size and set_field_upload.
Can you help me with that function? i don’t understand why when I set the function
set_field_upload(‘file_url’,‘assets/uploads/files/’.date(‘Y’) ); on edit state , it works fine. However ,
when i changed the date(‘Y’) with a value from a query the function use the default upload path. The value is not empty.
I post an example.

} else if ($crud->getState() == 'edit') {

$photoyear = $this->_get_folder_file($info->primary_key);

set_field_upload(‘file_url’,‘assets/uploads/files/’ . $photoYear);
}


controller.php

function _get_folder_file($id){
    	$this->db->select('folder_file');
    	$this->db->from('docs');
    	$this->db->where('id',$id);
    	$q_fofi = $this->db->get();
    	$row_fofi = $q_fofi->row_array();
    	$this->session->set_userdata('folder_file',$row_fofi['folder_file']);
    	return $row_fofi['folder_file'];
    }

As you can see I use the function to get the value from the database I after that I use this value on set_field_upload(‘file_url’,’ assets/uploads/files/.$value);
But as I said the function set_field_upload uses the default upload path.
why ?
can you help me ?

thanks in advance.