Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
webentwicklung:symfony2:symfony2_tutorials:sonata_user_bundle_installieren [27.01.2015 15:52] cbeier |
webentwicklung:symfony2:symfony2_tutorials:sonata_user_bundle_installieren [02.10.2017 22:43] (aktuell) |
||
---|---|---|---|
Zeile 40: | Zeile 40: | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | Je nachdem welche Sonata Bundles bereits installiert wurden (z.B. das Sonata Admin Bundle) kann es sein, dass bei dir schon einziele | + | Je nachdem welche Sonata Bundles bereits installiert wurden (z.B. das Sonata Admin Bundle) kann es sein, dass bei dir schon einzelne |
</ | </ | ||
Zeile 57: | Zeile 57: | ||
doctrine: | doctrine: | ||
+ | dbal: | ||
+ | # Your database configuration ... | ||
+ | | ||
+ | types: | ||
+ | json: Sonata\Doctrine\Types\JsonType | ||
+ | |||
orm: | orm: | ||
# And these in the config mapping definition (or enable auto_mapping): | # And these in the config mapping definition (or enable auto_mapping): | ||
Zeile 67: | Zeile 73: | ||
ApplicationSonataUserBundle: | ApplicationSonataUserBundle: | ||
SonataUserBundle: | SonataUserBundle: | ||
- | dbal: | ||
- | types: | ||
- | json: Sonata\Doctrine\Types\JsonType | ||
sonata_user: | sonata_user: | ||
Zeile 91: | Zeile 94: | ||
# The encoders are important and missing in the original install instruction. | # The encoders are important and missing in the original install instruction. | ||
encoders: | encoders: | ||
- | | + | FOS\UserBundle\Model\UserInterface: |
- | | + | |
| | ||
role_hierarchy: | role_hierarchy: | ||
Zeile 245: | Zeile 247: | ||
php app/console fos: | php app/console fos: | ||
+ | |||
+ | Und für einen User mit Admin-Berechtigung: | ||
+ | |||
+ | php app/console fos: | ||
+ | |||
## Fehlermeldungen und ihre Lösung | ## Fehlermeldungen und ihre Lösung |