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

An alias "goalioforgotpassword_doctrine_em" was requested but no service could be found #5

Open
Gounlaf opened this issue Sep 7, 2013 · 0 comments

Comments

@Gounlaf
Copy link

Gounlaf commented Sep 7, 2013

Hi,

i got this error when i installed your module.
Below the "order" of modules installed in application.config.php

    'DoctrineModule',
    'DoctrineORMModule',
    'ZfcBase',
    'ZfcUser',
    'ZfcUserDoctrineORM',
    'GoalioForgotPassword',
    'GoalioForgotPasswordDoctrineORM',

i had to override your aliases in my config

    'service_manager' => array(
        'aliases' => array(
            'goalioforgotpassword_doctrine_em' => 'Doctrine\ORM\EntityManager',
        )
    )

What i don't understand is your Module.php is similar to the one of "ZfcUserDoctrineORM"

I found an issue here, but i not enough experimented with ZF2 to know if it's related ...

doctrine/DoctrineModule#246

Tell me if i'm wrong,

thanks

cpa99dcs added a commit to cpa99dcs/GoalioForgotPasswordDoctrineORM that referenced this issue Aug 29, 2014
To address issue goalio#5: An alias "goalioforgotpassword_doctrine_em" was requested but no service could be found
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

1 participant