Fosuserbundle: Unable to find file "@FOSUserBundle/Resources/config/routing/all.xml"

Created on 23 Feb 2015  路  9Comments  路  Source: FriendsOfSymfony/FOSUserBundle

Unable to find file "@FOSUserBundle/Resources/config/routing/all.xml" in @FOSUserBundle/Resources/config/routing/all.xml

Most helpful comment

I installed v1.3.5 today and I get the same error. I can't find the file all.xml in the folder _routing_.

You can use this:

fos_user_security:
    resource: "@FOSUserBundle/Resources/config/routing/security.xml"

fos_user_profile:
    resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
    prefix: /profile

fos_user_register:
    resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
    prefix: /register

fos_user_resetting:
    resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
    prefix: /reset

fos_user_change_password:
    resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
    prefix: /profile

All 9 comments

I installed v1.3.5 today and I get the same error. I can't find the file all.xml in the folder _routing_.

You can use this:

fos_user_security:
    resource: "@FOSUserBundle/Resources/config/routing/security.xml"

fos_user_profile:
    resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
    prefix: /profile

fos_user_register:
    resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
    prefix: /register

fos_user_resetting:
    resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
    prefix: /reset

fos_user_change_password:
    resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
    prefix: /profile

Thx man !

Please note that the all.xml routing file is only present in the 2.0.*@dev version of FOSUserBundle. In the older 1.3.x versions, you would indeed have to use the approach described by @luxilio.

If you use the 1.3.x version, please read the documentation in the 1.3.x version too.

thanks lux

thx

thx

CHEEEEEEERS

Very good

Was this page helpful?
0 / 5 - 0 ratings