owulanii
owulanii
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
sure. let me know if you encounter any issues @eskay_amadeus
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
modified it before i even began testing. issue had to do with the wrong php ini file. sigh!
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
guess what the issue was all along? 😭 @Mohamed Ayaou was modifying the wrong php ini file
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
yeahh i should probably try it on a different host. i'd research about that. thanks a lot for the suggestion 😃
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
i get 0MB both on local and production
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
okay sure let me do that now
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
the error no longer pops up in the log but its livewire upload that still throws error
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
client_max_body_size 128M; #client_max_body_size 120M; #client_max_body_size 120M; #client_max_body_size 120M;
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
yeahh first had that issue then placed it in my nginx http block which took away that error
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
nginx
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
I'm using digital ocean ubuntu server
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
local works fine. this is on production
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
php artisan cache:clear
php artisan config:clear
php artisan config:cache
php artisan route:clear
php artisan route:cache
php artisan view:clear
php artisan optimize:clear
php artisan optimize
done these but still error
34 replies
FFilament
Created by owulanii on 12/6/2024 in #❓┊help
File upload for large files
lol forgot to mention I already explored that option as well. But it still doesn't work 'temporary_file_upload' => [ 'disk' => null, // Example: 'local', 's3' | Default: 'default' 'rules' => ['required', 'file', 'max:122880'], // Example: ['file', 'mimes:png,jpg'] | Default: ['required', 'file', 'max:12288'] (12MB) 'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp' 'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1' 'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs... 'png', 'gif', 'bmp', 'svg', 'wav', 'mp4', 'mov', 'avi', 'wmv', 'mp3', 'm4a', 'jpg', 'jpeg', 'mpga', 'webp', 'wma', 'vnd.openxmlformats-officedocument.spreadsheetml.sheet', ], 'upload_max_file_size' => 122880, // 120 MB 'chunk_size' => 8192, // 8 MB per chunk 'max_file_uploads' => 10, // Allow multiple uploads if needed 'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated... 'cleanup' => true, // Should cleanup temporary uploads older than 24 hrs... ],
34 replies