On localhost works all fine. But when uploaded to the server throws this error. What could be wrong?
Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'The class 'Acme\DemoBundle\Entity\User' was not found in the chain configured namespaces FOS\UserBundle\Entity, Acme\BazaBundle\Entity, FOS\UserBundle\Model'
config.yml:
fos_user:
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
firewall_name: main
user_class: Acme\DemoBundle\Entity\User