Guest User

Untitled

a guest
Jan 17th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Now i get this error message: Fatal error: Class 'PropelPropelBundlePropelBundle' not found in D:www-filesSymfonyappAppKernel.php on line 22
  2.  
  3. Line 22 looks like this:
  4. new PropelPropelBundlePropelBundle()
  5.  
  6. And my autoload.php looks like this:
  7. <?php
  8.  
  9. use DoctrineCommonAnnotationsAnnotationRegistry;
  10.  
  11. $loader = require __DIR__.'/../vendor/autoload.php';
  12.  
  13. // intl
  14. if (!function_exists('intl_get_error_code')) {
  15. require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
  16.  
  17. $loader->add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs');
  18. }
  19.  
  20. AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
  21.  
  22. return $loader;
Add Comment
Please, Sign In to add comment