Giter Club home page Giter Club logo

Comments (3)

dbu avatar dbu commented on August 17, 2024

this looks like you missed one step. i just removed the database and then did this:

php bin/console doctrine:database:create
php bin/console doctrine:phpcr:init:dbal --force
php bin/console doctrine:phpcr:workspace:create sandbox
php bin/console doctrine:phpcr:repository:init
php bin/console -v doctrine:phpcr:fixtures:load

the error looks to me like you missed the doctrine:phpcr:repository:init step.

from cmf-sandbox.

oriolplns avatar oriolplns commented on August 17, 2024

Thank you David

I'm still having the same problem... I don't know what I'm doing wrong.

I'm using app/config/phpcr_doctrine_dbal.yml.dist file as app/config/phpcr.yml

In the step doctrine:phpcr:workspace:create sandbox I put default instead sandbox because if not I have this error:

Executing initializer: CmfRoutingBundle
Executing initializer: CmfMenuBundle
[PHPCR\PathNotFoundException]
Item /cms/menu not found in workspace default

I've tried to change phpcr_workspace: default to sandbox but then I'm still having the first error loading fixtures...

I'm using PHP 7, I don't know if it's important in this case.

from cmf-sandbox.

oriolplns avatar oriolplns commented on August 17, 2024

SOLVED

The problem was in parameters:

I had:

parameters:
    locale: en
    locales:
        - es
        - ca
        - fr

Now, I've added the default_locale in locales and works:

parameters:
    locale: en
    locales:
        - en
        - es
        - ca
        - fr

from cmf-sandbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.