I'm working with symfony and propel (symfony version 2.1.4 and propel version 1.6). I'm following the tutorial and the save() function gives this error:
No connection information in your runtime configuration file for datasource [users_database]
The code causing the error:
$product = new Product();
$product->setName('A Foo Bar');
$product->setPrice(19.99);
$product->setDescription('Lorem ipsum dolor');
$product->save();
parameters.yml
parameters:
database_driver: mysql
database_host: localhost
database_name: users_database
database_user: root
database_password: ~
database_charset: UTF8
When I check the mysql, the database is the but empty.