It did not work.
Replace
return $this->fileMime->getMimeType($this->_file['tmp_name']);
with
return $this->_file['type'];
works for me
It worked!! Thanks
Installing "FILEINFO" php extension on server worked for.
Thanks, my problem was caused by changing php versions in cpanel and forgetting to tick the filinfo box, thanks
Thanks
@PaginasWebdotPE wrote:i installed a demo with content in 2.2.6 and experienced the same issue, however, after installing "PHP Fileinfo module" it works, looks like that module is also required
after installing php71-php-fileinfo using easy apache 4 on whm image files now upload
Thank you I enabled the module and it works fine!
It did not work.
Replace
return $this->fileMime->getMimeType($this->_file['tmp_name']);
with
return $this->_file['type'];
works for me
worked for me thanks
Edit php.ini and enable extension fileinfo
Very simple, use
return $this->_file['type'];
instead of
return $this->fileMime->getMimeType($this->_file['tmp_name']);