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 8159193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:49:57+00:00 2026-06-06T17:49:57+00:00

I followed official tutorials to install FOSUser then SonataUser bundles and my app/Application/Sonata/UserBundle/Entity extension.

  • 0

I followed official tutorials to install FOSUser then SonataUser bundles and my app/Application/Sonata/UserBundle/Entity extension.

Now I’m having 4 tables: fos_user, fos_user_group, fos_user_user and fos_user_user_group.

my security.yml

security:
    providers:
        fos_userbundle:
            id: fos_user.user_manager

my config.yml

fos_user:
    db_driver: orm
    firewall_name: main
    user_class: Me\UserBundle\Entity\User
#    user_class: Application\Sonata\UserBundle\Entity\User

my /app/Application/Sonata/UserBundle/Resources/config/doctrine/User.orm.xml

...
<entity name="Application\Sonata\UserBundle\Entity\User" table="fos_user_user">
    <id name="id" column="id" type="integer">
        <generator strategy="AUTO" />
    </id>
</entity>
...

I also have created my UserBundle like it’s written fosuser docs.

So users are authenticated with fos_user but sonata admin shows users from fos_user_user

What could be wrong in my config ?

  • 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-06T17:49:59+00:00Added an answer on June 6, 2026 at 5:49 pm

    I finally restarted the whole FOSUser & SonataUser/Admin installation by following this good tutorial step by step.

    I think my error was to extend FOSUser with my bundle while Sonata extends it already with easy extend.

    So I completely removed my UserBundle.

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

Sidebar

Related Questions

Hi I am developing android application using WebView implementation. I followed the official android
I've followed the official .NET Web Application with SQL Azure tutorial on windowsazure.com and
I followed this tutorial to implement facebook into my application. All I want is
I followed this post http://neurochannels.blogspot.com/2010/05/how-to-run-r-code-in-matlab.html , to install R(D)Com server in order to call
I followed the example given in ember application stucture guide http://emberjs.com/guides/outlets/ in order to
I followed this tutorial (official documentation for symfony 1.4). The project is created but
I followed tutorial from cocos2d official site . I try to create some items
I try to install Walkaround , a project based on Google Wave. I followed
I am trying to setup NodeJS on EC2. I followed the official guide and
I followed the devise official wiki to integrate devise with facebook through omniauth. I

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.