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

Error after adding doctrine_mongodb #4

Open
nurikabe opened this issue Oct 13, 2011 · 2 comments
Open

Error after adding doctrine_mongodb #4

nurikabe opened this issue Oct 13, 2011 · 2 comments

Comments

@nurikabe
Copy link

I recently started using the ContactBundle. Worked fine until I added a config for doctrine_mongodb: alongside doctrine:

Notice: Undefined index: IHQS\ContactBundle\Document\Contact in vendor\doctrine-mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\Driver\AbstractFileDriver.php line 116 

We are using both MySQL as well as Mongo.

Seems like the bundle is trying to use Mongo even though I am not using a database connector.

  contact:
      form:
          type:               ihqs_contact_contact
          handler:            ihqs_contact.contact.form.handler.default
          name:               ihqs_contact_contact_form
          validation_groups:  [Contact]
  connectors:
      email:
         recipients: me@test.com

Apologies for the newbie-ish question.

@AlepH-FR
Copy link
Member

AlepH-FR commented May 2, 2012

mongodb not supported on this outdated bundle yet.

@weyandch
Copy link

Is there any fix but deleting the documents folder locally?

*Edit
Not deleting, worked again for me when i switched off auto_mapping for mongodb in config.yml.. still need to investigate why errors are thrown when mapping is active.

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

3 participants