{"issue":{"milestone":null,"title":"Problem after installation","created_at":"2011-12-29T21:32:34Z","user":{"login":"AliHichem","id":810609,"url":"https://api.github.com/users/AliHichem","avatar_url":"https://secure.gravatar.com/avatar/34c14c332fd809142f9ac58cd66b9dbc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"34c14c332fd809142f9ac58cd66b9dbc"},"updated_at":"2011-12-30T20:11:13Z","state":"open","labels":[],"id":2682881,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/Abhoryo/APYJsFormValidationBundle/issues/5","body":"When I try to visit a form that uses ths js validation I get this error:\r\n\r\nCannot redeclare class apy\\...\\validationgrouplistener\r\n\r\nAny idea ?\r\n\r\nIn fact I'm using the FosUserBundle","number":5,"url":"https://api.github.com/repos/Abhoryo/APYJsFormValidationBundle/issues/5","comments":2,"assignee":null},"comment":{"created_at":"2011-12-30T20:11:13Z","user":{"login":"AliHichem","id":810609,"url":"https://api.github.com/users/AliHichem","avatar_url":"https://secure.gravatar.com/avatar/34c14c332fd809142f9ac58cd66b9dbc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"34c14c332fd809142f9ac58cd66b9dbc"},"updated_at":"2011-12-30T20:11:13Z","id":3316633,"body":"> Do you load this same file in other place ? Or maybe you have another class called validationgrouplistener somewhere else.\r\nNo I don't think so. When I dump the declared classes with the \"APYJsFormValidationBundle\" disabled, I don't find any \"validationgrouplistener\"..\r\n\r\nI have these bundles installed :\r\n\r\n        $bundles = array(\r\n            new Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle(),\r\n            new Symfony\\Bundle\\SecurityBundle\\SecurityBundle(),\r\n            new Symfony\\Bundle\\TwigBundle\\TwigBundle(),\r\n            new Symfony\\Bundle\\MonologBundle\\MonologBundle(),\r\n            new Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle(),\r\n            new Symfony\\Bundle\\DoctrineBundle\\DoctrineBundle(),\r\n            new Symfony\\Bundle\\AsseticBundle\\AsseticBundle(),\r\n            new Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle(),\r\n            new JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle(),\r\n            new FOS\\UserBundle\\FOSUserBundle(),\r\n            new Supercolegio\\UserBundle\\SupercolegioUserBundle(),\r\n            new Stof\\DoctrineExtensionsBundle\\StofDoctrineExtensionsBundle(),\r\n            new APY\\JsFormValidationBundle\\APYJsFormValidationBundle()\r\n            );\r\n\r\nHere is the full dump, hope it helps.\r\n\r\nFatal error: require(): Cannot redeclare class apy\\jsformvalidationbundle\\listener\\validationgroupslistener in /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php on line 55\r\n\r\nCall Stack:\r\n    0.0223     646360   1. {main}() /home/hichem/Desktop/supercolegio/web/app_dev.php:0\r\n    0.5730    6435232   2. Symfony\\Component\\HttpKernel\\Kernel->handle() /home/hichem/Desktop/supercolegio/web/app_dev.php:24\r\n    0.6093    9105232   3. Symfony\\Bundle\\FrameworkBundle\\HttpKernel->handle() /home/hichem/Desktop/supercolegio/app/bootstrap.php.cache:547\r\n    0.6094    9106888   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php:46\r\n    1.1530   26849664   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleException() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:77\r\n    1.1530   26851304   6. Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher->dispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:174\r\n    1.1530   26851304   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php:118\r\n    1.1531   26852112   8. Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher->doDispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:49\r\n    1.1541   26869424   9. call_user_func() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php:82\r\n    1.1541   26869480  10. Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener->onKernelException() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php:0\r\n    1.1741   27115464  11. Symfony\\Bundle\\FrameworkBundle\\HttpKernel->handle() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php:79\r\n    1.1742   27119864  12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php:46\r\n    1.1742   27119864  13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:71\r\n    1.2680   28171216  14. Symfony\\Component\\HttpKernel\\HttpKernel->filterResponse() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:139\r\n    1.2681   28172648  15. Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher->dispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:157\r\n    1.2681   28172648  16. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php:118\r\n    1.2682   28172648  17. Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher->doDispatch() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:49\r\n    1.2703   28206496  18. call_user_func() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php:82\r\n    1.2703   28206552  19. Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener->onKernelResponse() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php:0\r\n    1.2704   28206712  20. Symfony\\Component\\HttpKernel\\Profiler\\Profiler->collect() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php:95\r\n    1.2724   28482488  21. Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector->collect() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:174\r\n    1.2724   28487688  22. Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher->getNotCalledListeners() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php:42\r\n    1.2724   28488000  23. Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher->getListeners() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php:133\r\n    1.2726   28488232  24. Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher->lazyLoad() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php:97\r\n    1.2726   28488664  25. Symfony\\Component\\DependencyInjection\\Container->get() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php:134\r\n    1.2726   28489304  26. appDevDebugProjectContainer->getJsfv_ValidationGroupsListenerService() /home/hichem/Desktop/supercolegio/app/bootstrap.php.cache:190\r\n    1.2726   28489952  27. Symfony\\Component\\ClassLoader\\DebugUniversalClassLoader->loadClass() /home/hichem/Desktop/supercolegio/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php:0\r\n\r\n\r\n\r\n","url":"https://api.github.com/repos/Abhoryo/APYJsFormValidationBundle/issues/comments/3316633"},"action":"created"}