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

Upload multiple files #7

Closed
demeus opened this issue Jul 15, 2020 · 7 comments
Closed

Upload multiple files #7

demeus opened this issue Jul 15, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@demeus
Copy link

demeus commented Jul 15, 2020

Hi,
Thanks for this nice package,
I find some problem when i try to upload multiple files
image

first file upload normaly, but next files make validation error
errors: {file: ["The file is not supported."]}

i have latest laravel
What it could be the mistake ?

Thanks.

@ahmed-aliraqi
Copy link
Owner

@demeus Please make sure to install ffmpeg and specify it's path in the .env file:

FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe

Installing ffmpeg on Mac OS

$ brew install ffmpeg

Installing ffmpeg on Ubuntu

$ sudo apt install ffmpeg

@AEK-BKF
Copy link

AEK-BKF commented Jul 17, 2020

@ahmed-aliraqi
Same with me, it uploads only the first selected images.
please check errors in attached,
I've installed ffmpeg,
Laravel 6.2, Ubuntu 18.04

Screenshot from 2020-07-17 14-45-47

Screenshot from 2020-07-17 14-44-51
Screenshot from 2020-07-17 14-45-18

@ahmed-aliraqi
Copy link
Owner

ahmed-aliraqi commented Jul 17, 2020

@demeus @AEK-BKF Thanks for reporting. this issue was resolved in laravel-file-uploader@1.0.18 plugin, you should bump the version to ^1.0.18

npm update laravel-file-uploader && npm run dev

@ahmed-aliraqi ahmed-aliraqi added the bug Something isn't working label Jul 17, 2020
@AEK-BKF
Copy link

AEK-BKF commented Jul 17, 2020

Thank you so much !
Fixed.

@AEK-BKF
Copy link

AEK-BKF commented Jul 22, 2020

Sorry again,
The error is still there,
For the first time I select multi images, it works fine, but if I choose multi images again it doesn't work !
Please Help and Thanks

@ahmed-aliraqi
Copy link
Owner

@AEK-BKF Thank you so much.
fixed on v1.0.19 release. please bump version and try again

npm update laravel-file-uploader && npm run dev

@AEK-BKF
Copy link

AEK-BKF commented Jul 22, 2020

Great ! Thank you so much :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants