简体   繁体   English

必须配置路径“fos_user”的子节点“db_driver”

[英]The child node “db_driver” at path “fos_user” must be configured

Trying to implement user management with the Sonata User bundle:尝试使用 Sonata 用户包实现用户管理:

https://sonata-project.org/bundles/user/master/doc/reference/installation.html https://sonata-project.org/bundles/user/master/doc/reference/installation.html

I'm under Symfony 4 and I already have installed the SonataAdminBundle我在 Symfony 4 下,我已经安装了 SonataAdminBundle

But I have an error when I try to update my composer.但是当我尝试更新我的作曲家时出现错误。

!!  In ArrayNode.php line 224:
!!
!!    The child node "db_driver" at path "fos_user" must be configured.

I have the feeling this is related to Fos User Bundle but I'm not sure at all...我觉得这与 Fos User Bundle 有关,但我完全不确定......

Please tell me which peace of code I can provide to help you with that cause I really don't know at this point.请告诉我我可以提供哪种代码来帮助你解决这个问题,因为我现在真的不知道。

Following this link: https://symfony.com/doc/master/bundles/SonataAdminBundle/index.html按照这个链接: https://symfony.com/doc/master/bundles/SonataAdminBundle/index.html

I have been able to implement all the Getting started part and I was trying to implement the advanced option 5 Security to add user management ( https://symfony.com/doc/master/bundles/SonataAdminBundle/reference/security.html )我已经能够实现所有入门部分,并且我正在尝试实现高级选项 5 安全性以添加用户管理( https://symfony.com/doc/master/bundles/SonataAdminBundle/reference/security.html

Thanks谢谢

Ok, so in fact the issue was not related to FOSUser at all...the composer update was putting the wrong message (the good one, but only because the cache clear wasn't working).好的,所以事实上这个问题根本与 FOSUser 无关......作曲家更新发出了错误的消息(好消息,但只是因为缓存清除不起作用)。

I fixed it by going to the php.ini and setting the memory limit to 256M instead, so as the cache clear worked so as the composer update worked.我通过转到 php.ini 并将 memory 限制设置为 256M 来修复它,以便缓存清除工作,以便作曲家更新工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 停滞的RedKiteCMS安装:“必须配置路径“ fos_user”处的子节点“ db_driver” - Stalled RedKiteCMS install: “The child node ”db_driver“ at path ”fos_user“ must be configured” FOSUser Bundle必须配置路径“fos_user”中的子节点“db_driver” - FOSUser Bundle The child node “db_driver” at path “fos_user” must be configured Symfony FOSUser Bundle 错误必须配置路径“fos_user”处的子节点“db_driver” - Symfony FOSUser Bundle error The child node “db_driver” at path “fos_user” must be configured 安装QCMBundle - 必须配置子节点“驱动程序” - Installing QCMBundle - The child node “driver” must be configured “fos_user”下无法识别的选项“资源” - Unrecognized option “resource” under “fos_user” 必须配置路径“安全性”下的子节点“提供者” SonataAdmin FosUser - The child node “providers” at path “security” must be configured SonataAdmin FosUser FOSOAuthServerBundle-必须配置路径“ security”处的子节点“ providers” - FOSOAuthServerBundle - The child node “providers” at path “security” must be configured 必须配置路径“enqueue_elastica”处的子节点“transport” - The child node "transport" at path "enqueue_elastica" must be configured Sonata + Fos_user-如何仅显示与用户相关的实体? - Sonata + Fos_user - How to display only entities related to the user? fos_user配置的两个不同的user_class - Two different user_class for fos_user configuration
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM