A couple of days ago, I installed the the FOS User Bundle (which involved creating a bundle called UserBundle with an Entity file called User.php. I went step by step through the install process for this, even keeping my company name as Acme. As far as I can tell this section all went ok, since I was able to use Doctrine to create databases, register, login, logout etc

Next I installed the Sonata User Bundle (which has an option to work with FOSUserBundle). This also meant installing Sonata ORM Bundle and Sonata Admin Bundle as part of the process. Again I followed the install step by step.

Now, when I try to load any page I get the following Exception:

InvalidArgumentException: Bundle "UserBundle" does not exist or it is not enabled.