26 Replies
Code on my file upload
Try removing image and optimise. Does it work?
same error
What type of file are you uploading?
jpg
also png
Can you find it in your temporary storage path?
i can't see
Make sure to run php artisan storage:link
The error is showing when im gonna upload a above 2MB size but the rules on my livewire is null
If im gonna upload a below it will success
idk why, but i dont have a validation for size tho
yes i already run it
@Joemar maybe your php setting like upload limit things
but its set to 2G which is 2 Gigabytes
Does the Laravel log say anything?
says "The files.0 failed to upload."
Is there anything in
laravel.log
file?I mean the full Laravel log
where i can found this?
storage/logs/laravel.log
its empty
Thanks guys already found a solution
And what was it?
The problem is the on the php.ini
2g is not enough? 😱
idk but i changed it to 12M and it works