Open kinger251285 opened 4 years ago
Any help appreciated?
Still unable to find a solution and no reason this shouldnt be working as far as i can see.
attach please the file, I'll try to reproduce
attach please the file, I'll try to reproduce
Hi Mafftor
Which file is it you want? The file to upload?
If so you can use any docx file and it isnt picked up as an option, if i change the dropdown to any file and then try to upload any docx i get the error as per the screen shot.
I've tested and couldn't reproduce the bug Try to use my version of this package, It has a lot of advanced features https://github.com/mafftor/laravel-file-manager And write me later
I've tested and couldn't reproduce the bug Try to use my version of this package, It has a lot of advanced features https://github.com/mafftor/laravel-file-manager And write me later
No difference, still not working
UPDATE
I have managed to upload open data formats including text files and spreadsheet files as well as text files by using the correct mime types.
However i am still unable to upload word documents (.doc and .docx) or Excel Documents (.xls) files. Could this have something to do with server setup being ubuntu and not recognizing those mime types?
You should test it out. Write me on telegram @mafftor and we could test it together if you don't know how
Ive also tried removing the filemanager package and re-installing, checked my server mime types and all correct. Any other suggestions anyone?
I have the same problem exactly
Faced the same problem, but was able to partially solve it by adding this to the lfm.php https://prnt.sc/tr3nvu files began to be loaded, before loading select "all files" https://prnt.sc/tr3p95
Faced the same problem, but was able to partially solve it by adding this to the lfm.php https://prnt.sc/tr3nvu files began to be loaded, before loading select "all files" https://prnt.sc/tr3p95
IamMorgan - Thank you added the missing mime types from your first image and now it is working.
Was missing the below (Not sure if which one fixed it maybe the all caps Docx where i already had lower case?) but working nonetheless:
'image/vnd.microsoft.icon', 'image/x-icon', 'application/DOCX',
Maybe we should add mime type of DOCX files into our document. Thanks for reporting this.
Operating system : Ubuntu 18.04
Laravel version : 16.18.15
Package version : 2.0
Steps to reproduce your issue : Upload any DOCX file using the standalone button. Able to upload images and pdf's
Screenshots of browser console :
my lfm.php `<?php
*/
]; ` Ive seen the other posts regarding this issue and none have fixed it.
I have tried adding the seperate array of mime_file_types and made no difference.
I have also tried removing the error identifier in the public/vendor/laravel-filemanager/js/dropzone-min.js file