After applying the patch, the exception was gone but I was getting the
message "No Metadata Classes to process."
I renamed the directory "Entities" to "Entity" inside my bundle (also
the namespace of my User.php class) and know everything worked fine.
Thanks a lot for your help!!
El 09/08/10 14:18, Antoine Hérault escribió:
Hello,
When you try to load the doctrine extension, it throws
an InvalidArgumentException with the message 'The parameter
"doctrine.orm.metadata_driver.mapping_dirs" must be defined.'.
Patch : http://github.com/herzult/symfony/tree/ticket_8953
Trac ticket : http://trac.symfony-project.org/ticket/8953
2010/8/9 Alexandre Salomé <[email protected]
<mailto:[email protected]>>
Please copy/paste your config.yml section about doctrine.orm
Another information : It's Entity, instead of Entities (recently
changed).
2010/8/9 alfonso <[email protected]
<mailto:[email protected]>>
Hi.
I'm trying to follow the Doctrine Guide for Symfony2 (http://
docs.symfony-reloaded.org/guides/doctrine/overview.html
<http://docs.symfony-reloaded.org/guides/doctrine/overview.html>).
I'm usign
Symfony2 revision d440f2e and doctrine revision 11b2542.
After creating the src/Application/myappBundle/Entities/User.php
entity file, I'm trying to run doctrine:schema:create but I get an
exception:
# php myapp/console doctrine:schema:create
[InvalidArgumentException]
The parameter "doctrine.orm.metadata_driver.mapping_dirs" must be
defined.
Any clue about what I'm doing wrong? I guess there's a parameter I
should define somewhere, but I have no clue about where should I
define it. I tried myapp/config/config.yml but didn't work.
Thanks in advance,
Alfonso.
--
If you want to report a vulnerability issue on symfony, please
send it to security at symfony-project.com
<http://symfony-project.com>
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:symfony-users%[email protected]>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
Alexandre Salomé
http://alexandre-salome.fr
--
If you want to report a vulnerability issue on symfony, please
send it to security at symfony-project.com
<http://symfony-project.com>
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to
[email protected] <mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:symfony-users%[email protected]>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en