tomatophp / filament-icons

Picker & Table Column & Icons Provider for FilamentPHP
https://tomatophp.com/en/open-source/filament-icons
MIT License
11 stars 0 forks source link

Got "could not find driver" when running "php artisan filament-icons:install" #1

Closed capungindia closed 1 month ago

capungindia commented 1 month ago

Hi, i'm new to filament and want to try using filament-cms. Trying to follow https://filamentphp.com/plugins/3x1io-tomato-cms step-by-step. Everything run well until i tried to add Categories when i get this error. image The strage thing is that this error supposed to appear when there is a problem with database connection, isn't it (cmiiw)? As far as i know, i have no problem accessing my database since i could do login.

I tried to follow https://filamentphp.com/plugins/3x1io-tomato-icons to get proper filament-icons installation buat then get the same error right here image

Is filament-icons have a specific database configuration separated from the one of laravel?

Thank you

linear[bot] commented 1 month ago

TOT-104 Got "could not find driver" when running "php artisan filament-icons:install"

capungindia commented 1 month ago

I've found it. It is turn out to be just me didn't notice that filament-icons based on Sushi that need pdo_sqlite to be enabled. Enabling it in php.ini and then everything work fine for me.

Thank you

Dontorpedo commented 2 weeks ago

after enabling pdo_sqlite i have the error: SQLSTATE[HY000]: General error: 1 no such table: icons (Connection: , SQL: select * from "icons")

capungindia commented 2 weeks ago

@Dontorpedo try this

yagnesh987 commented 6 hours ago

php artisan filament-icons:install

still the issue is there after following this commands NO TABLE or migration is there

3x1io commented 2 hours ago

hi, all it's very easy to make sure you have SQLite3 on your PHP .ini

yagnesh987 commented 1 hour ago

hi, all it's very easy to make sure you have SQLite3 on your PHP .ini

I am using mysql I have raised an issue please check screenshots also.