Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant delete folder when there is contents #1142

Closed
azizikri opened this issue May 17, 2022 · 6 comments
Closed

cant delete folder when there is contents #1142

azizikri opened this issue May 17, 2022 · 6 comments
Labels
WIP Working in progress.

Comments

@azizikri
Copy link

Please check the following instructions before submitting a bug :

And provide the followings :

  • Operating system : Windows 10
  • Laravel version : 8
  • Package version : v2.5.1
  • Steps to reproduce your issue : create folder and fill it with image, and delete it
  • Error : Method UniSharp\LaravelFilemanager\Controllers\DeleteController::error does not exist.
@azizikri
Copy link
Author

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
Copy link

tanero commented Feb 18, 2024

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
Copy link
Member

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
Copy link

Samvdg commented Feb 27, 2024

Awesome! Thank you!

@streamtw
Copy link
Member

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Working in progress.
Projects
None yet
Development

No branches or pull requests

5 participants