I am a newbie with Symfony (and also new to this forum), having a really hard time getting the DoctrineMongoDBBundle to work.
First, I have installed Symfony 2.1.7 (standard) by following the instructions. Every thing went smooth, and I also worked myself through some of the simple examples. All went well. But then I decided to install the DoctrineMongoDBBundle according to these instructions:
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
"composer.phar update" appeared to run ok, but ending with the following notice (4 times):
- Code: Select all
Class Sensio\Bundle\DistributionBundle\Composer\ScriptHandler is not autoloadable, can not call post-update-cmd script
After installation I went to web/app_dev.php/ resulting in:
- Code: Select all
Fatal error: Class 'Symfony\Component\ClassLoader\DebugClassLoader' not found in /home/fast2/html-data/app/bootstrap.php.cache on line 542
All of the demo and example bundles that worked without problems before also throw this error.
Google and searching this forum wasn't really helpful, leaving me with the impression that I may be the only one with that problem, and that I missed something crucial during the process.
I have no idea where the problem comes from. My only hint would be that something got broken during the update process as composer has installed several bundles that are still in development status.
Any hints to get this working are greatly appreciated!
Best,
Ben
