Abhoryo / APYJsFormValidationBundle

This bundle performs validations of a form in javascript. (i18n compatible and several javascript frameworks supported)
92 stars 23 forks source link

Messages not loading #39

Closed mikael0hlsson closed 11 years ago

mikael0hlsson commented 11 years ago

app_dev.php/i18n/validators/en does not load I get the following error message when i try to display it:

/*
[exception] 500 | Internal Server Error | LogicException
[message] You must call one of in() or append() methods before iterating over a Finder.
[1] LogicException: You must call one of in() or append() methods before iterating over a Finder.
    at n/a
        in C:\xampp\htdocs\mlk_adventures-book\vendor\symfony\symfony\src\Symfony\Component\Finder\Finder.php line 688

    at Symfony\Component\Finder\Finder->getIterator()
        in C:\xampp\htdocs\mlk_adventures-book\vendor\willdurand\expose-translation-bundle\Bazinga\ExposeTranslationBundle\Controller\Controller.php line 103

    at Bazinga\ExposeTranslationBundle\Controller\Controller->exposeTranslationAction(object(Request), 'validators', 'en', 'js')
        in  line 

    at call_user_func_array(array(object(Controller), 'exposeTranslationAction'), array(object(Request), 'validators', 'en', 'js'))
        in C:\xampp\htdocs\mlk_adventures-book\app\bootstrap.php.cache line 2770

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
        in C:\xampp\htdocs\mlk_adventures-book\app\bootstrap.php.cache line 2744

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
        in C:\xampp\htdocs\mlk_adventures-book\app\bootstrap.php.cache line 2874

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
        in C:\xampp\htdocs\mlk_adventures-book\app\bootstrap.php.cache line 2175

    at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
        in C:\xampp\htdocs\mlk_adventures-book\web\app_dev.php line 28

*/

As you can see I am on windows and I am using symfony 2.3.1

recipe commented 11 years ago

Could you open issue in the BazingaExposeTranslationBundle https://github.com/willdurand/BazingaExposeTranslationBundle/issues?state=open