On my development machine, if I dump the Driver Chain's Drivers, I get an array with a single entry for my "Application/XXXBundle/Entity" which is a "Doctrine\ORM\Mapping\Driver\AnnotationDriver". The same thing on the remote server gives me an array of "Doctrine\ORM \Mapping\Driver\XmlDriver"s for: Symfony\Bundle\FrameworkBundle\Entity, Symfony\Bundle\TwigBundle\Entity, Symfony\Bundle\ZendBundle\Entity, Symfony\Bundle\DoctrineBundle\Entity, Application\XXXBundle\Entity, Symfony\Bundle\WebProfilerBundle\Entity.
As these are all XMLDrivers, including the one for my Application \XXXBundle\Entity, I can see why it's looking for a *.dcm.xml mapping file, but I've no idea why the same configuration on the remote server would default to XML mapping rather than annotations. On Dec 11, 12:44 pm, Damon Jones <damonljo...@gmail.com> wrote: > I'm having the exact same issue. It works fine on my local machine but > not remotely. > > On Dec 8, 9:22 pm, Marijn <marijn.huizendv...@gmail.com> wrote: > > > > > Hi everybody, > > > I'm having some trouble with a small test application which won't run > > on my remote server. > > I keep getting the following error: > > > No mapping file found named > > 'Application.ServiceBundle.Entity.Service.dcm.xml' for class > > 'Application\ServiceBundle\Entity\Service'. > > > My entities are mapped by annotations, prefixed with the latest orm > > namespace addition (e.g. orm:Entity). > > This problem only occurs on my remote server. But it's running the > > exact same code as my local copy which behaves as expected. > > > I'm having trouble debugging this since I cannot inspect if the > > annotation loader is instantiated correctly. > > > Is there any setting that can overrule this? > > > Kindest regards, > > > Marijn -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en