Thanks for you reply. I am sorry I can't understand what you said. Should you kindly explain more?
On Jan 7, 5:56 am, Alessandro Nadalin <[email protected]> wrote: > Please dont fullfill emails with unreadable code ;-) use github's gist or a > pastebin instead > > -- > Alessandro Nadalinwww.odino.org| twitter.com/_odino_ > inviato da dispositivo mobile > > Il giorno 06/gen/2011 22:34, "Yan" <[email protected]> ha scritto: > > In AppKernel.php, select xml configuration. > > public function registerContainerConfiguration(LoaderInterface > $loader) > { > // use YAML for configuration > // comment to use another configuration format > //$loader->load(__DIR__.'/config/config_'.$this- > > >getEnvironment().'.yml'); > > // uncomment to use XML for configuration > $loader->load(__DIR__.'/config/config_'.$this- > > >getEnvironment().'.xml'); > > // uncomment to use PHP for configuration > //$loader->load(__DIR__.'/config/config_'.$this- > > >getEnvironment().'.php'); > > http://..../sandbox/web/app_dev.php/ > Return following error: > > atal error: Uncaught exception 'InvalidArgumentException' with message > '[ERROR 1871] Element '{http://www.symfony-project.org/schema/dic/ > symfony}session': This element is not expected. Expected is ( > {http://www.symfony-project.org/schema/dic/symfony}translator ). (in > file:///C:/xampp/htdocs/sandbox/app/config/config.xml - line 21, > column 0)' in C:\xampp\htdocs\sandbox\src\vendor\symfony\src\Symfony > \Component\DependencyInjection\Loader\XmlFileLoader.php on line 302 > InvalidArgumentException: [ERROR 1871] Element '{http://www.symfony- > project.org/schema/dic/symfony}session': This element is not expected. > Expected is ( {http://www.symfony-project.org/schema/dic/symfony} > translator ). (in file:///C:/xampp/htdocs/sandbox/app/config/config.xml > - line 21, column 0) in C:\xampp\htdocs\sandbox\src\vendor\symfony\src > \Symfony\Component\DependencyInjection\Loader\XmlFileLoader.php on > line 302 Call Stack: 0.0185 338376 1. {main}() C:\xampp\htdocs\sandbox > \web\app_dev.php:0 0.0595 996496 2. Symfony\Component\HttpKernel > \Kernel->handle() C:\xampp\htdocs\sandbox\web\app_dev.php:14 0.0595 > 996560 3. Symfony\Component\HttpKernel\Kernel->boot() C:\xampp\htdocs > \sandbox\src\vendor\symfony\src\Symfony\Component\HttpKernel > \Kernel.php:178 0.0812 1088736 4. > Symfony\Component\HttpKernel\Kernel->initializeContainer() > C:\xampp\htdocs\sandbox\src\vendor\symfony\src > > \Symfony\Component\HttpKernel\Kernel.php:123 0.1039 1102936 5. Symfony > \Component\HttpKernel\Kernel->buildContainer() C:\xampp\htdocs\sandbox > \src\vendor\symfony\src\Symfony\Component\HttpKernel\Kernel.php:292 > 0.2588 2674008 6. AppKernel->registerContainerConfiguration() C:\xampp > \htdocs\sandbox\src\vendor\symfony\src\Symfony\Component\HttpKernel > \Kernel.php:368 0.2588 2674104 7. Symfony\Component\DependencyInjection > \Loader\DelegatingLoader->load() C:\xampp\htdocs\sandbox\app > \AppKernel.php:55 0.2591 2674104 8. Symfony\Component > \DependencyInjection\Loader\XmlFileLoader->load() C:\xampp\htdocs > \sandbox\src\vendor\symfony\src\Symfony\Component\DependencyInjection > \Loader\DelegatingLoader.php:52 0.2861 2714008 9. Symfony\Component > \DependencyInjection\Loader\XmlFileLoader->parseImports() C:\xampp > \htdocs\sandbox\src\vendor\symfony\src\Symfony\Component > \DependencyInjection\Loader\XmlFileLoader.php:45 0.2865 2714664 10. > Symfony\Component\DependencyInjection\Loader\FileLoader->import() C: > \xampp\htdocs\sandbox\src\vendor\symfony\src\Symfony\Component > \DependencyInjection\Loader\XmlFileLoader.php:89 > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%2bunsubscr...@goog > legroups.com> > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
