yebor974
yebor974
FFilament
Created by QCTFW on 7/5/2024 in #❓┊help
Can I define an extra searchable column without creating a column in the table?
You can set array param in searchable like :
TextColumn::make('book.name')
->label('Book')
//...
->searchable(['name', 'isbn'])
->sortable()
TextColumn::make('book.name')
->label('Book')
//...
->searchable(['name', 'isbn'])
->sortable()
6 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
What is the error shown in your form view ?
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
Just try to increase the php memory_limit attribute before excluding it
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
You have two maxSize on your file upload. I think the last is taken but not sure 😅
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
In my opinion, it seems it's not an Apache/PHP issue; otherwise, you would get an error in the errors.log file. How is your FileUpload component configured in form ? Have you set a maxSize ? The error appears after how much time (upload) ?
32 replies
FFilament
Created by Adnan Yalahow on 7/4/2024 in #❓┊help
Change side bar background color
You need to create a custom theme like this : https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme This will create a css file in your /resources/css/filament directory (named theme.css for your panel). And next you can add your customized class on it, like :
.fi-sidebar {
@apply !bg-gray-500;

.fi-sidebar-header {
//...
}

//...
}
.fi-sidebar {
@apply !bg-gray-500;

.fi-sidebar-header {
//...
}

//...
}
dont forget run npm or yarn build / dev
7 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
I need to follow the request and see where it's blocked (whether the log is in access.log with a 422 error code or in error.log, ...). It's very strange. I can't debug it without being on the server.
32 replies
FFilament
Created by Adnan Yalahow on 7/4/2024 in #❓┊help
Change side bar background color
You have information about it on https://filamentphp.com/docs/3.x/support/style-customization You can manage a theme and use .fi-sidebar and others to declare css.
7 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
Do you use php-fpm (see if good php.ini is modified) ? Have you configured a proxy (with proxy_pass for example) ? Could you share your apache host config ? No other ideas 😄
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
yes post_max_size need to be equal or higher than upload_max_filesize.
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
and what is post_max_size php config ?
32 replies
FFilament
Created by Jackson Falcão on 7/4/2024 in #❓┊help
Uploads Larger Than 16MB
it seems to be php config. Have you set upload_max_filesize and post_max_size and reload apache ? Check the apache error log. It seems your are on Ubuntu, log file is on /var/logs/apache/error.log
32 replies
FFilament
Created by arul on 7/2/2024 in #❓┊help
403 forbidden when production
I agree with @awcodes it is not a filament / livewire issue. Another reason could be the .htaccess file or the mod_rewrite configuration. Need more information and screens to help.
14 replies
FFilament
Created by JustNoOne on 7/2/2024 in #❓┊help
The POST method is not supported for route user/login. Supported methods: GET, HEAD.
Have you try to clear the route cache with php artisan route:clear command or Check if you have a cache config in your serveur config (apache or nginx) for js files
7 replies
FFilament
Created by arul on 7/2/2024 in #❓┊help
403 forbidden when production
Have you a specific config in your apache or nginx web conf ? Or files permissions on your application directory ?
14 replies
FFilament
Created by Yacoub Al-haidari on 6/23/2024 in #❓┊help
Reset Password Not Working
Can you give more informations ? What is the database request executed ? Can you use debugbar or make a log to see it please ? Maybe have you set a guard with custom roles or other criteria ?
4 replies