Bonjour,
j'essaie de mettre en place l'ajout de champs personalisé mais je rencontre l'erreur suivante:
FileLoaderLoadException
The file "G:\Fred\Programmes_files\wamp64\www\team_occitanie_officiel\app/config\services.yml" does not contain valid YAML in G:\Fred\Programmes_files\wamp64\www\team_occitanie_officiel\app/config\services.yml (which is being imported from "G:\Fred\Programmes_files\wamp64\www\team_occitanie_officiel\app/config\config.yml").
voici mon fichier confix.yml
et à la fin de mon fichier services.yml j'ai rajouté ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 fos_user: db_driver: orm # other valid values are 'mongodb' and 'couchdb' firewall_name: main user_class: TO\PlateformBundle\Entity\User from_email: address: "noreply@team-occitanie.ovh" sender_name: "Team Occitanie" service: mailer: fos_user.mailer.twig_swift registration: form: type: TO\PlateformBundle\Form\RegistrationType confirmation: enabled: true from_email: address: noreply@team-occitanie.ovh sender_name: Team Occitanie template: 'email/registration.email.twig'
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 app.form.registration: class: TO\PlateformBundle\Form\RegistrationType tags: - { name: form.type, alias: app_user_registration }
Partager