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
Tieme
Tieme12mo ago
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
No description
No description
No description
awcodes
awcodes12mo ago
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
СосрыкъуэКрепкийКамень
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...
awcodes
awcodes12mo ago
change disk to 'public' 'public' should be the default though, so you shouldn't have to define it.
Want results from more Discord servers?
Add your server