Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Could not find any fixtures to load in: #59

Open
lpcadev opened this issue Apr 25, 2016 · 7 comments
Open

Could not find any fixtures to load in: #59

lpcadev opened this issue Apr 25, 2016 · 7 comments

Comments

@lpcadev
Copy link

lpcadev commented Apr 25, 2016

Hi,

I am try install symfony cmf to check your routing bundle. And in install i had problem.

Can help me?

Stop in this process.

c:\wamp\www\symfony-cmf>php app/console doctrine:phpcr:fixtures:load
Careful, database will be purged. Do you want to continue Y/N ?Y


  [InvalidArgumentException]
  Could not find any fixtures to load in:
  - C:\wamp\www\symfony-cmf\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\assetic-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\symfony\src\Symfony\Bundle\SecurityBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\monolog-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\swiftmailer-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\doctrine\doctrine-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\sensio\framework-extra-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\doctrine\phpcr-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\doctrine\doctrine-cache-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\core-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\content-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\routing-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\simple-cms-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\block-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\sonata-project\block-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\sonata-project\core-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\menu-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\knplabs\knp-menu-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony-cmf\create-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\friendsofsymfony\rest-bundle\FOS\RestBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\src\AppBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\symfony\src\Symfony\Bundle\DebugBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\symfony\symfony\src\Symfony\Bundle\WebProfilerBundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\sensio\distribution-bundle/DataFixtures/PHPCR
  - C:\wamp\www\symfony-cmf\vendor\sensio\generator-bundle/DataFixtures/PHPCR
@wouterj
Copy link
Member

wouterj commented Apr 25, 2016

Hi @lpcadev!

This repository has become the skeleton of the CMF project. This means that it includes no actual app code and can be used as the base to start a new CMF project. As it doesn't include code, there can be no fixtures found.

If you want to check a demo project, take a look at the CMF sandbox (you can visit it online at http://sandbox.cmf.symfony.com/ ).

Btw, I just realized we completely forgot to update the quick tour documentation when we were stripping this package. If you want to follow the Quick tour, install the 1.2 version of the Standard Edition. I'll update the docs this week. Thanks for reporting!

@lpcadev
Copy link
Author

lpcadev commented Apr 28, 2016

Hi @wouterj
Ok. Np.
I will check online demo and try install as you said.
Thank you ..

@tstrijdhorst
Copy link

This is still not fixed, had the same problem after trying:
http://symfony.com/doc/master/cmf/book/installation.html

@riccardo-ravaro
Copy link

There a lots of documentations misleading online, can you make a clear statement online about it?

@dbu
Copy link
Member

dbu commented Jul 8, 2016

as a quickfix, the quick tour was changed to use version 1.2.1 of standard-edition so that the examples work: symfony-cmf/symfony-cmf-docs#766

somebody indeed needs to rewrite those parts of the documentation that that are affected by stripping things out of the standard edition. we could use some help there.

@johnpancoast
Copy link

johnpancoast commented Feb 8, 2017

somebody indeed needs to rewrite those parts...

@dbu It would definitely help if http://symfony.com/doc/master/cmf/book/installation.html was up to date. Out of curiosity, where are the fixtures that this doc mentions and what data did they used to create? Just getting an idea of what functionality was moved or removed (new'ish to CMF).

Edit:
Oh I see, you left a note about it here:
http://symfony.com/doc/master/cmf/quick_tour/the_big_picture.html#downloading-the-symfony-cmf-standard-edition

So I assume the fixtures in all these docs were loaded from the acme demo bundle too then?

Maybe it would help to add the same note to the book doc as well? assuming that's where the fixtures came from...

@dbu
Copy link
Member

dbu commented Feb 9, 2017

the sandbox still has fixtures. i am rewriting the quick tour to the sandbox. once that is done, we can attack the book and clean that up as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants