FileDoesNotExist using Livewire #2987
Unanswered
jozeflambrecht
asked this question in
Q&A
Replies: 1 comment
-
Livewire uploads the file to the temp directory and then AddMedia() function seems to move the file from the livewire-tmp location to correct location that has been specified in the config file or the relevant disk. Had the same issue but I was using s3 as tmp and file storage. This code seems to have resolved the issue for me and uses the livewire-tmp folder on the s3 bucket.
Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I upload pictures using livewire and laravel-medialibrary, I get the following error:
File
C:\Users\jozef\Code\test\storage\app\livewire-tmp/UT4GPidHRIr6ygYKAxsL04S0suUanL-metad2hjLnBuZw==-.png
does not existThis is my code:
However the image was uploaded (it's in the correct folder and added in the media table). Someone knows why there is a call tot eh temp file?
Beta Was this translation helpful? Give feedback.
All reactions