You are not logged in.
Hi
Iv'e got a problem with Symfony app/check.php goes everything OK, but when i want to start "localhost/sym/web/app_dev.php" got an Error
Whoops, looks like something went wrong.
InvalidArgumentException: There is no extension able to load the configuration for "framework" (in /srv/http/sym/app/config/config_dev.yml). Looked for namespace "framework", found none
in /srv/http/sym/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php line 272
at YamlFileLoader->validate() in /srv/http/sym/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php line 242
at YamlFileLoader->loadFile() in /srv/http/sym/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php line 42
at YamlFileLoader->load() in /srv/http/sym/vendor/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php line 50
at DelegatingLoader->load() in /srv/http/sym/app/AppKernel.php line 34
at AppKernel->registerContainerConfiguration() in /srv/http/sym/app/bootstrap.php.cache line 863
at Kernel->buildContainer() in /srv/http/sym/app/bootstrap.php.cache line 779
at Kernel->initializeContainer() in /srv/http/sym/app/bootstrap.php.cache line 513
at Kernel->boot() in /srv/http/sym/app/bootstrap.php.cache line 544
at Kernel->handle() in /srv/http/sym/web/app_dev.php line 27
Plz help!
BR
Last edited by sargath (2012-06-21 06:38:56)
Offline
Exact same problem here!
Offline
Ohhhh man i got it
Firs of All check if you have those things because I always used apps in php that never bother about this things:
Make sure that the following line is uncommented in httpd.conf in the section/(after the line)
<IfModule mime_module>:
TypesConfig conf/mime.types
Uncomment the following line in httpd.conf(optional):
MIMEMagicFile conf/magic
Add this line in /etc/httpd/conf/mime.types:
application/x-httpd-php php php5
After that Symfony 2 started working very well.
Gosh i spend hours with loooking how to get it done. That's strange there is no mention about it in Symfony Documentation. All Servers got it default enabled ? I don't think so.
BR & Good Luck with it ![]()
Offline
I've used Symfony 2.0.15 right now.
Ohhhh man i got it
![]()
Firs of All check if you have those things because I always used apps in php that never bother about this things:
Make sure that the following line is uncommented in httpd.conf in the section/(after the line)
<IfModule mime_module>:
TypesConfig conf/mime.typesUncomment the following line in httpd.conf(optional):
MIMEMagicFile conf/magicAdd this line in /etc/httpd/conf/mime.types:
application/x-httpd-php php php5After that Symfony 2 started working very well.
Gosh i spend hours with loooking how to get it done. That's strange there is no mention about it in Symfony Documentation. All Servers got it default enabled ? I don't think so.
BR & Good Luck with it
Offline