msalehi
msalehi
FFilament
Created by msalehi on 10/21/2024 in #❓┊help
Handle uploaded images columns and rows
thanks a lot
4 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
i'm still have the problem, i think there is a bug in FileUpload component, and seems that TemporaryFileUploader class does not compatible with minio
16 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
i used my own env variable and now i'm sure that my project is connected to minio, because i tested it using tinker and Storage facade and it worked, but i found that the uploaded file field, before saving data is set to an empty array
protected function mutateFormDataBeforeSave(array $data): array
{
dd($data);
}
protected function mutateFormDataBeforeSave(array $data): array
{
dd($data);
}
and returned something like this :
array:24 [
...
...
"toilets_count" => 2
"parking_count" => 4
"images" => []
]
array:24 [
...
...
"toilets_count" => 2
"parking_count" => 4
"images" => []
]
as you can see images is empty! i tested this using default fileUpload component .
16 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
i'm using WSL2 on Windows.
16 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
i'm using laravel with my own docker configurations. i'm going to inspect sail configurations to know about minio configs. this is a little bit weird.
16 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
i saw that in
docker logs minio
docker logs minio
16 replies
FFilament
Created by msalehi on 12/3/2023 in #❓┊help
MediaLibrary not working with minIO with docker
Thanks, i tried this but does not worked even for temp file !! it seems that access key and secret access key is deprecated in minIO new version.
16 replies
FFilament
Created by msalehi on 11/19/2023 in #❓┊help
Postfix for TextEntry
no, i want to set a custom text per component after the original state.
6 replies
FFilament
Created by MrPan on 6/24/2023 in #❓┊help
Error 401 on upload in Filament Admin
my problem solved. actually it was because of my proxy pass in nginx that solved with this one line of code :
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Proto https;
source: https://github.com/livewire/livewire/discussions/3084
4 replies
FFilament
Created by MrPan on 6/24/2023 in #❓┊help
Error 401 on upload in Filament Admin
i have no problem in my local environment
4 replies
FFilament
Created by MrPan on 6/24/2023 in #❓┊help
Error 401 on upload in Filament Admin
I have the same problem with laravel 10 on octane and swoole, on production environment. i already used forceScheme in my boot() method in AppServiceProvider and set the $proxies in TrustProxies middleware but has no effect. i'm also using nginx and reverse proxy in production .. has anyone any solution?
4 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
all of the middlewares are default . i was not changed any middleware.
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
yeah
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
i set the forceScheme in my AppServiceProvider to use https in my production . i also set the $proxies = '*' in TrustProxies
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
yeah.
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
yeah, but the problem of components fixed and now my uploader component throws 401 error .. i'm using laravel 10 and octane with swoole and nginx ..
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
maybe it's cause of nginx or something else ?
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
No description
26 replies
FFilament
Created by msalehi on 10/20/2023 in #❓┊help
Blocked loading mixed active content
It was because of my ASSET_URL that was not set in my .env i've set that and solved.
26 replies