First of all, there are already a lot of (solved) questions regarding this topic. And I tried all possible solutions. But to no avail.
- The problem occurs in both CI versions 
2.1.4and2.2.1. - I also tried using different filetypes, such as 
png,gifandtxt. - I've done no 
mime-typealterations, eg. by usingAddTypein the.htaccessfile - I've used a simple html form, and a Postman for debugging
 - I've tried it with both PHP versions 
5.5and5.6(fileinfo module enabled) - The mime types do exist in the 
mimes.phpfile - The 
tmpfolder is writable 
I'm out of options...
Does anybody know what the issue might be?
Thanks in advance!
configuration
$this->uploadconfig =  array(
    'upload_path'     => "./tmp/",
    'allowed_types'   => "png|gif|txt",
    'overwrite'       => TRUE,
    'max_size'        => "25000KB",
    'max_height'      => "5000",
    'max_width'       => "5000"
);
$this->load->library('upload', $this->uploadconfig);
error
The filetype you are attempting to upload is not allowed.
output
[file_name] => test.png
[file_type] => image/png
[file_path] => /CORRECT_SERVER_PATH/tmp/
[full_path] => /CORRECT_SERVER_PATH/tmp/test.png
[raw_name] => test
[orig_name] => 
[client_name] => test.png
[file_ext] => .png
[file_size] => 851
[is_image] => 1
[image_width] => 
[image_height] => 
[image_type] => 
[image_size_str] =>