Sylius / Sylius-Sandbox

[DEPRACATED] Sylius sandbox application, playground and testing place for Sylius and Symfony2 beginners.
Sylius.org
MIT License
76 stars 24 forks source link

Sandbox configuration #114

Closed mickaelCOLLET closed 11 years ago

mickaelCOLLET commented 11 years ago

when i launch the sandbox on my webserver i have this error:

ParameterNotFoundException: You have requested a non-existent parameter "sylius_assortment.model.variant.class".

when i see the base.yml, this is the configuration:

sylius_assortment:
    driver: doctrine/orm
    classes:
        product:
            model: Sylius\Bundle\SandboxBundle\Entity\Product
            controller: Sylius\Bundle\SandboxBundle\Controller\ProductController
            repository: Sylius\Bundle\SandboxBundle\Repository\ProductRepository
            form: Sylius\Bundle\SandboxBundle\Form\Type\ProductType
        variant:
            model: Sylius\Bundle\SandboxBundle\Entity\Variant
            form: Sylius\Bundle\SandboxBundle\Form\Type\VariantType

how is the fix ?

thank u again :+1:

umpirsky commented 11 years ago

How did you install your deps, with composer install or composer update?

BTW, we are moving the development to https://github.com/Sylius/Sylius

mickaelCOLLET commented 11 years ago

i do a composer update... i try to install

umpirsky commented 11 years ago

Use install please, since most bundles are updated to use sylius prefix in config.

mickaelCOLLET commented 11 years ago

ok. And now i use Sylius/ Sylius instead of Sylius / Sylius-Sandbox ?

mickaelCOLLET commented 11 years ago

same error with installation...

ParameterNotFoundException: You have requested a non-existent parameter "sylius_assortment.model.variant.class".