Reputation: 11661
im following the symfony cmf tutorial, i setup an mysql connection instead of sql_light. i setup the database, but now im trying to add the the page with the command from the tutorial:
php app/console doctrine:phpcr:migrator page --identifier=/cms/simple/test
but this gives the following error
[InvalidArgumentException]
Wrong value 'page' for migrator_name argument.
Available migrators:
doctrine:phpcr:migrator:migrate [--identifier[="..."]] [--depth[="..."]] [--session[="..."]] [migrator_name]
What do i do wrong?
Upvotes: 0
Views: 872
Reputation: 179
just want to share my experience. Symfony-cmf-standard follow tutorial there.
before following this command
app/console doctrine:database:create
app/console doctrine:phpcr:init:dbal
app/console doctrine:phpcr:register-system-node-types
app/console doctrine:phpcr:fixtures:load
change you db configuration bia web/config.php or parameters.yml
on windows,
app/console doctrine:phpcr:fixtures:load
may fail, you can follow this link windows fix
good luck,
Upvotes: 1