Login Try it Free

Basic Symfony2 - Fatal error : AnnotationRegistry

Clint Davis Dec 03, 2011 01:01AM MST

I have installed a base symfony2 application, this works when used locally, but when uploaded I get this error:

Fatal error: Class 'Doctrine\Common\Annotations\AnnotationRegistry' not found in /var/www/app/autoload.php on line 39

Up -1 Rated Down
Scott Dec 03, 2011 07:36AM MST Pagoda Box Agent

We aren’t Symfony specialists, but I did find this thread on their forum that may help.

http://forum.symfony-project.org/viewtopic.php?f=23&t=37021&p=123081&hilit=Annotationregistry#p123081

Up 7 Rated Down
Clint Dec 03, 2011 08:31AM MST

I worked it out.

When using the Symfony2 that includes vendors there is no problem.

When trying to use GIT to upload the vendors when using the
"php bin/vendors install --reinstall" method my GIT does not correctly push the files up to pagodabox, it was hard to tell if it was correctly pushing the files.

This question is closed to new answers.

Contact Us