Cannot upload Excel spreadsheets
Receiving Error: Invalid mime type detected.
Also tried disabling "Check MIME Types"
Skip that just reread your post
Status | New | ⇒ | Information Required |
In \libraries\src\Helper\MediaHelper.php
, above line 254 // Get the mime type this is not an image file
, add the following:
var_dump($this->getMimeType($file['tmp_name']));
exit;
Please advise the value of the output.
After upload I'm getting the page/message: bool(false)
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-07 21:43:50 |
Closed_By | ⇒ | Quy |
Closed_By | Quy | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/20108
Please read issue #16238. It has to do with PDF but the information should still be applicable in your case.
You can add (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) this in Legal MIME types in the list and add xlsx in the Legal Extensions(File Types).
You can find this setting in Joomla administrator > Global > Media Settings.
add "xlsx" and "XLSX" to your Legal File Types then add "application/vnd.openxmlformats-officedocument.presentationml.presentation" to your Legal MIME Types;
Thanks!! For the solution :)
Did you add it to the allowed media manager list? Within the media manager options?