UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.08k stars 720 forks source link

cant delete folder when there is contents #1142

Closed azizikri closed 7 months ago

azizikri commented 2 years ago

Please check the following instructions before submitting a bug :

And provide the followings :

azizikri commented 2 years ago

update here, I think this happened because the error function is deleted in src/Controllers/LfmController.php, this was deleted in commit "b115dca3c1b089aa08c8b0b0107683668ad17279" I don't know what the purpose the code was deleted, maybe @streamtw can elaborate?

tanero commented 7 months ago

Same error still exist, at version 2.7.0. It looks like this package development is not in progress, otherwise I think someone would have taken care of this problem until now.

streamtw commented 7 months ago

Sorry for late reply. I have reproduced this issue on my end. The error function may be deleted because I falsely thought it was a redundant function. I will release a fixed version today.

Samvdg commented 7 months ago

Awesome! Thank you!

streamtw commented 7 months ago

v2.7.1 has been released to fix this issue. Please run php artisan vendor:publish --force --tag=lfm_public and php artisan vendor:publish --force --tag=lfm_view after upgrading to v2.7.1.

jayson-velasquez commented 7 months ago

in public/vendor/laravel-filemanager/js/lfm.js the file_path in window.SetUrl is empty. causing an error

Screen Shot 2024-02-28 at 2 33 14 PM