Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8061933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:29:59+00:00 2026-06-05T10:29:59+00:00

I face a problem with FOSUserBundle. In my Symfony2 application, I want to implement

  • 0

I face a problem with FOSUserBundle.

In my Symfony2 application, I want to implement two differents User.
I have one entity User, for basic user, and one entity UserPro with more informations.

My problem is that I want to configure my bundle with this two entities:

fos_user:
    db_driver:     orm
    firewall_name: main
    user_class:    Btp\UserBundle\Entity\User

fos_userpro:
    db_driver:     orm
    firewall_name: pro
    user_class:    Btp\UserProBundle\Entity\UserPro

And so, use fos_user and fos_userpro as provider in my security.yml.

I’m no sure it’s be possible. I obtain an error :

There is no extension able to load the configuration for “fos_userpro” (in /…./app/config/config.yml). Looked for namespace “fos_userpro”, found “framework”, “security”, …

And when I take a look in FOSUserBundle files, I feel that fos_user is not a configuration variable and is directly written in strings.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:30:00+00:00Added an answer on June 5, 2026 at 10:30 am

    In your situation you need to make 4 different entity, user-registration,user-proregistration,users and Groups.For more details you need to look the symfony2 security.

    Click the Link

    In user-registration,user-proregistration you need an additional field user_id for relating these 2 entity with user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I face a problem on my application , I have a long running process
I face the following problem in a cryptographical application: I have given a set
hello every one i face this problem and iam too weak in DB i
I have a problem with CSS3 property for using my own fonts @font-face. In
I have three row in jasper sub report , I face problem when I
Often I face the problem of mapping the parameter space of one API onto
I have face a problem that all my app in my iphone is not
Now i face a problem in my porting job, when i need to implement
can some one explain why I face problem with backgroundworker backgroundWorker1_RunWorkerCompleted works just fine
I have face resize problem of listview columns. If you anchor/docking the listview to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.