Top "Symfony-2.1" questions

This is the Symfony 2.1.x specific tag.

RegistrationFormType::buildForm() not compatible

I just upgrade my Symfony 2.0.12 project to 2.1. I also installed FosUserBundle, but when I run command php composer.phar update …

forms symfony symfony-2.1 fosuserbundle
Reload or clear data in existing form in Symfony2.1

We upgraded from Symfony 2.0 to 2.1. With 2.0, I used to modify the entity and reload the form like this: $form->…

symfony symfony-2.1
Adding action in SonataAdminBundle

I'm trying to add an action in sonata admin bundle. I changed my Admin class with : protected function configureListFields(ListMapper $…

symfony symfony-2.1 sonata-admin
Symfony 2 - rearrange form fields

In our Symfony2 project we have a very complex structure for forms with embedded forms.... Now we got the requirement …

symfony symfony-forms symfony-2.1
Could not open input file: app/console (Symfony 2)

Recently I started working with Symfony2. Unfortunately the php app/console commands doesn't work at both my MAMP server as …

php symfony symfony-2.1 symfony-3.1
How to inject non-default entity managers?

In Symfony2 you can work with multiple entity managers and use something like the code below: $em = $this->get(…

symfony doctrine-orm symfony-2.1
Validating dynamically loaded choices in Symfony 2

I have a choice field type named *sub_choice* in my form whose choices will be dynamically loaded through AJAX …

symfony validation symfony-2.1
Where to register autoload when the vendor is not managed with composer in Symfony 2.1?

I'm using symfony 2.1 and I want to add a library to vendors. The library do not exists in packagist. I …

symfony-2.1 composer-php packagist satis
Set Flash in Symfony 2.1

I have been adapting our code in preparation of moving our code to the new 2.1 Symfony codebase. In 2.0.* we could …

symfony symfony-2.1
Symfony 2.1 - Switch Monolog channel in controller

I want to log into a different file than the usual dev.log or prod.log I know that this …

php logging symfony-2.1 monolog