Symfony2 Crud Problème envoi d'un formulaire

Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use MonBundle

2
Fusioner 2 formulaires.

Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Route; use App\Form\SocieteType; use App\Entity\Societe; class SocieteController extends AbstractController { /** * @Route("/societe

2
Problème de sérialization

Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; use Symfony\Component\Serializer\Normalizer\ObjectNormalizer; class CourseNormalizer implements NormalizerInterface, CacheableSupportsMethodInterface { public function __construct(private ObjectNormalizer $normalizer) { } public function

11
Probleme d'affichage

symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [ "@auto-scripts" ], "post-update-cmd": [ "@auto-scripts" ] }, "conflict": { "symfony/symfony": "*" }, "extra": { "symfony": { "allow-contrib": false, "require": "6.1.*" } }, "require-dev": { "phpunit/phpunit

0
crud

Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; /** * Commande controller. * */ class CommandeController extends Controller { /** * Lists all commande entities. * */ public function indexAction() { $em = $this->getDoctrine()->getManager(); $commandes = $em->getRepository

2
SQLSTATE[42000]: Syntax error or access violation: 1064

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\TextType; class

2
Probleme d'enregistrement de fichier image

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\FileType; class MediaType extends AbstractType { /** * @param FormBuilderInterface $builder * @param

2
Condition pour faire apparetre les champs twigs

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class SocieteType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('adresse') ->add('ville

1
Gestion utilisateurs

Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Http\Authentication\AuthenticationUtils; Class SecurityController extends AbstractController{ /** * @Route("/login", name

1
Utlisation knpSnappy

Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\File\Exception\FileException; use Symfony

0