26 Replies
Code on my file upload
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1176534049901252648/image.png)
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
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1176542560580272148/image.png)
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
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1176551109607833600/image.png)
Thanks guys already found a solution
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1176582537003417600/image.png)
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