Error on istalling Doctrine Migration Bundle

Discuss Symfony 2 bundles here

Moderators: tiagojsag, dcobalt

Error on istalling Doctrine Migration Bundle

Postby kurtommy » Mon Dec 17, 2012 2:14 am

I have follow this guide in the official symfony site:
http://symfony.com/doc/current/bundles/ ... index.html

i have just download a new version of SE edition of symfony and just edited the composer.json adding this two line:
Code: Select all
"doctrine/doctrine-migrations-bundle": "dev-master",
"doctrine/migrations": "dev-master"


then run into the bash:
php composer.phar update

and added in the AppKernel.php this line:
Code: Select all
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle()


And if i refresh the http://localhost/symfony2/app_dev.php/ page i recive this error:
Code: Select all
) Fatal error: Class 'Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle' not found in /Users/kurtommy/NetBeansProjects/symfony/app/AppKernel.php on line 22


Any suggestion? What i do wrong?
Thanks
Tommaso.
kurtommy
Junior Member
 
Posts: 1
Joined: Mon Dec 10, 2012 11:19 am

Re: Error on istalling Doctrine Migration Bundle

Postby tiagojsag » Mon Dec 17, 2012 7:51 pm

Hey,

Have you tried the usual suspect: cache clear?

cheers
Tiago Garcia
@tiagojsag

Core Web Developer @ Shopware
http://www.shopware.de
User avatar
tiagojsag
Faithful Member
 
Posts: 885
Joined: Wed Aug 10, 2011 4:58 pm

Re: Error on istalling Doctrine Migration Bundle

Postby yavor99 » Wed Feb 06, 2013 5:28 pm

used
php ./app/console cache:clear
same result, did not help :?~:-?~:???:
http://lovesymfony.wordpress.com/ - This one could help you! I blog about my challenges while working with Symfony2 and how did I get past them.
User avatar
yavor99
Junior Member
 
Posts: 16
Joined: Wed Feb 06, 2013 5:23 pm

Re: Error on istalling Doctrine Migration Bundle

Postby yavor99 » Thu Feb 21, 2013 6:22 pm

running cmd command
Code: Select all
composer update
did the thing!
http://lovesymfony.wordpress.com/ - This one could help you! I blog about my challenges while working with Symfony2 and how did I get past them.
User avatar
yavor99
Junior Member
 
Posts: 16
Joined: Wed Feb 06, 2013 5:23 pm


Return to Bundles discussion

Who is online

Users browsing this forum: No registered users and 4 guests