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

No EntityManager is set-up for #99

Closed
tofarias opened this issue Nov 8, 2015 · 6 comments
Closed

No EntityManager is set-up for #99

tofarias opened this issue Nov 8, 2015 · 6 comments
Labels

Comments

@tofarias
Copy link

tofarias commented Nov 8, 2015

Hi. In "config/auth" I have this:

'driver' => 'doctrine',
'model' => Domain\Usuarios\Entities\User::class,


In "Domain\Usuarios\Entities\User.php" I have this:

@sisve
Copy link
Contributor

sisve commented Nov 9, 2015

Could you show us a stack-trace for the error?

@tofarias
Copy link
Author

tofarias commented Nov 9, 2015

Hi, here:

config-auth
domain-usuarios-entities-user
config-doctrine
no-entity-manager

@patrickbrouwers
Copy link
Contributor

If your entities are in domain you have to tell the Entity Manager about that.
In config file doctrine.php change paths to base_path('domain')

@tofarias
Copy link
Author

tofarias commented Nov 9, 2015

Ok, it's works! but I got a new error:

maximum_function_nesting

@tofarias
Copy link
Author

Ok, thanks.

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

No branches or pull requests

3 participants