OK, got past the intial problem. I did see the reference to the new
GIT repository, but went through the GIT button and was using the old
(sorry about that), so I fixed that one problem. Thanks. However, I
did get the next exception:

Fatal error: Uncaught exception 'Symfony\Component\Config\Definition
\Exception\InvalidConfigurationException' with message 'Unrecognized
options "group" under "fos_user.class.model"' in C:\bin\Symfony\vendor
\symfony\src\Symfony\Component\Config\Definition\ArrayNode.php on line
259

The following are my config files:

** config.yml
imports:
    .... no change from PR12 default ...

framework:
    .... no change from PR12 default ...

# Twig Configuration
twig:
    .... no change from PR12 default ...

# Assetic Configuration
assetic:
    .... no change from PR12 default ...

# Doctrine Configuration
doctrine:
    dbal:
        .... no change from PR12 default ...
    orm:
        auto_generate_proxy_classes: %kernel.debug%
        default_entity_manager: default
        entity_managers:
            default:
                mappings:
                    AcmeDemoBundle: ~
                    FOSUserBundle: ~
                    MyAppAppBundle: ~

# Swiftmailer Configuration
swiftmailer:
    .... no change from PR12 default ...

jms_security_extra:
    .... no change from PR12 default ...

fos_user:
    db_driver: orm
#   db_driver: mongodb
    provider_key: main                               <-- do note the
difference between orm and mongodb settings per doc
#   provider_key: fos_userbundle                <-- do note the
difference between orm and mongodb settings per doc
    class:
        model:
            user: MyApp\AppBundle\Entity\User
            group: FOS\UserBundle\Entity\DefaultGroup
#           user: MyApp\AppBundle\Document\User
#           group: FOS\UserBundle\Document\DefaultGroup



** security.yml
encoders:
        .... no change from PR12 default ...

    role_hierarchy:
        .... no change from PR12 default ...

    providers:
        in_memory:
            users:
                user:  { password: userpass, roles: [ 'ROLE_USER' ] }
                admin: { password: adminpass, roles:
[ 'ROLE_ADMIN' ] }
        fos_userbundle:
                id: fos_user.user_manager

    firewalls:
        profiler:
            pattern:  ^/_profiler
            security: false

        wdt:
            pattern:  ^/_wdt
            security: false

        login:
            pattern:  ^/demo/secured/login$
            security: false

        secured_area:
            pattern:    ^/demo/secured/
            form_login:
                check_path: /demo/secured/login_check
                login_path: /demo/secured/login
            logout:
                path:   /demo/secured/logout
                target: /demo/
            #anonymous: ~
            #http_basic:
            #    realm: "Secured Demo Area"
        main:
            form_login:
                provider: fos_userbundle

    access_control:
        #- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY,
requires_channel: https }



On Apr 21, 11:27 am, Carl <carl.par...@gmail.com> wrote:
> One more thing. If you enable UserBundle and don't configure it, it will
> fail to initialize and prevent your application from working. db_driver and
> firewall_name *must* be configured. There are other required options as
> well.

-- 
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