I am really struggling to get the FOSUserBundle setup and working with
Symfony2 (beta1 ?!). I have included the bundle in both the AppKernal,
and the autoload files. I installed the standard edition of Symfony
and the most recent version of the Userbundle from git hub yesterday.
When I run app/console doctrine:schema:update the UserBundle tables
are not created as required. I have read various reports about the the
mapping information changing location however, from the notes I think
the UserBundle has reflected this. Just for clarity the bundle I have
has its mapping information in UserBundle->Resources->config-
>doctrine, no metadata or orm folders.

Since I only have the UserBundle I have turned off auto mapping and
specified the FOSUserBundle mapping as shown below.

doctrine:
    dbal:
        driver:   %database_driver%
        host:     %database_host%
        dbname:   %database_name%
        user:     %database_user%
        password: %database_password%

    orm:
        auto_generate_proxy_classes: %kernel.debug%
#        auto_mapping: true
        mappings:
            FOSUserBundle: ~


Any help to get this bundle working again would be great.

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to