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

Problem with orm mapping configuration #101

Closed
ricfrank opened this issue Jan 9, 2013 · 4 comments
Closed

Problem with orm mapping configuration #101

ricfrank opened this issue Jan 9, 2013 · 4 comments

Comments

@ricfrank
Copy link

ricfrank commented Jan 9, 2013

Hi.

I'm tring to install OrnicarMessageBundle for my symfony 2.0 project.

I don't know how to configure orm mapping. In the doc there's only a mongo db mapping example. I don't use mongo db, but i use mysql.

Can anyone help me with a configuration code example??

This is my error:
InvalidConfigurationException: The child node "db_driver" at path "ornicar_message" must be configured.

Thanks.

@stof
Copy link
Member

stof commented Jan 9, 2013

@ricfrank
Copy link
Author

ricfrank commented Jan 9, 2013

Ok thanks very much .. but what about this https://github.com/ornicar/OrnicarMessageBundle/blob/master/Resources/doc/index.rst#configure-your-project for the ORM ??

@stof
Copy link
Member

stof commented Jan 9, 2013

@ricfrank Configure DoctrineBundle to read the mapping instead. And if you have the auto_mapping enabled (which is the case in the standard edition), you have nothing to do to enable it

@ricfrank
Copy link
Author

ricfrank commented Jan 9, 2013

@stof thank you very much. it works!

@ricfrank ricfrank closed this as completed Jan 9, 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

2 participants