I've just download a symfony2 (sf 2.0.12) with vendors, and when i go to http://foo.localhost/config.php I get this message:
Welcome! Welcome to your new Symfony project. This script will guide you through the basic configuration of your project. You can also do the same by editing the ‘app/config/ parameters.ini’ file directly.
- Configure your Symfony Application online
- Bypass configuration and go to the Welcome page
- Re-check configuration
Then I click "Configure your Symfony.." And i get this:
InvalidConfigurationException: The child node "db_driver" at path "fos_user" must be configured.
Is the same for you?
EDIT:
Besides, there isn't anything about the FOSUserBundle in appKernel or autoload files, nor in vendor folder. Anyway, I added this lines below to app/config/config.yml file:
fos_user:
db_driver: orm
firewall_name: main
but the error is the same.
Just in case anyone else needs this...
I had to run "composer update" on my Symfony installation without FOSUserBundle first. Then do it again with FOSUserBundle added to my composer.json file.
Looks like you are trying to install the FOSUserBundle at the same time as your Symfony2 install.
Either remove the bundle before installing or configure the missing keys it is asking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With