Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I tried installing the FixturesBundle as described in http://symfony.com/doc/2.0/bundles/DoctrineFixturesBundle/index.html but my proxy wont let me out.

So I went to https://github.com/doctrine/data-fixtures and download a zip from the latest commit.

I unzipped into the vendor directory and renamed it to doctrine-fixures. I edited the autoload.php and AppKernel.php files as described in the tutorial.

When I run:

php appconsole doctrine:fixtures:load

I get the following message:

PHP Fatal error:  Class 'SymfonyBundleDoctrineFixturesBundleDoctrineFixturesB
undle' not found in C:NetbeansProjects
oute_rest_serviceappAppKernel.php on
line 20

Fatal error: Class 'SymfonyBundleDoctrineFixturesBundleDoctrineFixturesBundle
' not found in C:NetbeansProjects
oute_rest_serviceappAppKernel.php on line
20

Is there a way to run the installation of bundle pointing it to a zip file?

I′m running Symfony 2.0.9 on Windows 7.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
406 views
Welcome To Ask or Share your Answers For Others

1 Answer

Seems like the doctrine bundle has been moved outside of Symfony scope back to Doctrine.

Please, use https://github.com/doctrine/DoctrineFixturesBundle


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...