If you're running php-fpm, you need to restart the service for those php.ini changes to take place.
post_max_size should be bigger than upload_max_filesize.
I am using Laravel 10 + Nova 4.
Moved my application to the server and when I try to upload larger file with:
File::make(__('models.document.file.label'), 'path')
->help(__('models.document.file.help'))
->disk('documents')
I get this error message that gives 0 context:
There was a problem submitting the form. " "
Note that there is open quotes but nothing inside them. Laravel.log is also empty, no error is showing there.
I must say that files less then 2mb upload fine. This gave me idea to update php.ini file which I did:
upload_max_filesize => 256M => 256M
post_max_size => 256M => 256M
But this changes nothing.. I am still unable to upload bigger files..
Do you have some other idea? How can I debug Laravel Nova file upload?
If you're running php-fpm, you need to restart the service for those php.ini changes to take place.
post_max_size should be bigger than upload_max_filesize.
Please or to participate in this conversation.