I am unable to upload files with long filenames
When trying to upload a file with the filename 'Photo university_1_Federal State Budgetary Educational Institution of Higher Education Amur Humanitarian and Pedagogical State University,' it fails to upload and returns null. The file itself opens and can be read, but if the filename is shortened, everything works. What could be the reason for this, and how can it be fixed?
6 Replies
Is there a error and wat is the error?
Can you also share the upload code?
But if I make the filename a bit shorter, everything works fine
What is the db length for the field? It’s probably too short.
I would expect that to throw a different error though.
In the database, the length is 255 characters, but the length of this field does not exceed 100 characters
this problem https://github.com/filamentphp/filament/issues/8841
GitHub
korean lang video upload issue · Issue #8841 · filamentphp/filament
Package filament/forms Package Version v3.0.63 Laravel Version v10.25.2 Livewire Version No response PHP Version 8.2 Problem description Hello, I enjoy laravel in Korea, and I am currently using fi...
change disk to 'public'
'public' should be the default though, so you shouldn't have to define it.