【问题标题】:Stalled RedKiteCMS install: "The child node "db_driver" at path "fos_user" must be configured"停滞的 RedKiteCMS 安装:“必须配置路径“fos_user”处的子节点“db_driver””
【发布时间】:2014-09-02 21:17:01
【问题描述】:

我已经跟随他们的instructions 到命令php app/rkconsole redkitecms:install --env=rkcms 导致的地步

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] 必须配置路径“fos_user”的子节点“db_driver”。

然而 app/config/config.yml 包含:

fos_user:
    db_driver: orm
    firewall_name: main
    user_class: Vol\VolBundle\Entity\Person

并且安装似乎以其他方式围捕了通常的嫌疑人。

【问题讨论】:

  • 两个想法 - 在 AppKernel 中,FOSUser 是否在 RedKite 之前?第二 - 尝试清除缓存,您可能需要注释掉 RedKite 包以便清除工作。
  • FOSUser 出现在 RedKite 之前。缓存(经常)清除。错误仍然存​​在,并且与 AppKernel 中 FOSUserBundle 的位置无关。

标签: php symfony fosuserbundle


【解决方案1】:

除非另有说明,否则此错误的发生是因为 RedKiteCMS does NOT support Doctrine。因此对于使用 Doctrine 构建的应用程序,RedKite 不提供 CMS 解决方案。

【讨论】:

    猜你喜欢
    • 2018-08-08
    • 1970-01-01
    • 2019-12-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-04
    • 1970-01-01
    相关资源
    最近更新 更多