Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParameterNotFoundException: The service "mopa_barcode.barcode_service" has a dependency on a non-existent parameter "imagine.web_root". #10

Closed
marcosgdf opened this issue Sep 23, 2012 · 7 comments

Comments

@marcosgdf
Copy link

ParameterNotFoundException: The service "mopa_barcode.barcode_service" has a dependency on a non-existent parameter "imagine.web_root".

@vittore
Copy link

vittore commented Sep 28, 2012

Me too. :-(

@garciaf
Copy link
Contributor

garciaf commented Oct 1, 2012

Hello,
Do you use imagine Bundle ?
Because I propose a pull request to ``use imagine.web_root` of imagine bundle.
I you you add the parameter in the config under imagine parameter.
So tell me if it works after

@garciaf
Copy link
Contributor

garciaf commented Oct 1, 2012

For exemple in app/config/config.yml :

avalanche_imagine:
    source_root: %kernel.root_dir%/../web
    web_root: %kernel.root_dir%/../web
    cache_prefix: media/cache
    driver: gd
    filters: ~

@vittore
Copy link

vittore commented Oct 1, 2012

Problem solved. avalanche_imagine parameter will be parsed only if in AppKernerl.php there is an explicit AvalancheImagineBundle init:

        $bundles = array(
            new Avalanche\Bundle\ImagineBundle\AvalancheImagineBundle(),
            new Mopa\Bundle\BarcodeBundle\MopaBarcodeBundle(),

not only:

        $bundles = array(
            new Mopa\Bundle\BarcodeBundle\MopaBarcodeBundle(),

I think that documentation will be upgraded.

@garciaf
Copy link
Contributor

garciaf commented Oct 1, 2012

Do you want that I take care of upgradding the documentation ? I can if you
want.

Ciao

@vittore
Copy link

vittore commented Oct 1, 2012

Great. I think it's usefull.

Thanks in advance.
v.


Iscriviti al mio blog http://www.zen.pn.it

2012/10/1 Garcia notifications@github.com

Do you want that I take care of upgradding the documentation ? I can if you
want.

Ciao


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-9024175.

@garciaf garciaf mentioned this issue Oct 2, 2012
@phiamo
Copy link
Owner

phiamo commented Feb 19, 2013

merged

@phiamo phiamo closed this as completed Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants