FriendsOfSymfony / FOSUserBundle

Provides user management for your Symfony project. Compatible with Doctrine ORM & ODM, and custom storages.

Home Page:https://symfony.com/doc/master/bundles/FOSUserBundle/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The child node "db_driver" at path "fos_user" must be configured.

mcl12345 opened this issue · comments

Hi,

I have this : "The child node "db_driver" at path "fos_user" must be configured."

even if I put this :

# app/config/config.yml
fos_user:
     db_driver: orm # other valid values are 'mongodb' and 'couchdb'
     firewall_name: main
     user_class: UserBundle\Entity\User
     from_email:
         address: "%mailer_user%"
         sender_name: "%mailer_user%"

make sure you don't have 2 fos_user keys in the same file (as one of them would get ignored), and make sure that your file is properly loaded. That's the first ideas I have.

check if you have an fos_user.yaml file in /config

commented

^^