【发布时间】:2013-09-02 01:28:59
【问题描述】:
我已经搜索了所有手册以寻找答案,但根本找不到。
我正在尝试使用此文档将 CMF 应用于我现有的 Symfony 2 项目:http://symfony.com/doc/master/cmf/tutorials/creating_cms_using_cmf_and_sonata.html
然后,我在这里解释了 Tree 问题:http://symfony.com/doc/master/cmf/tutorials/creating_cms_using_cmf_and_sonata.html#tree-problems
我尝试使用 PHPPCR 填充一些固定装置,如下所述:http://symfony.com/doc/master/cmf/tutorials/using_blockbundle_and_contentbundle.html#using-the-phpcr
但是对于这个奇怪的红色背景错误,我一点运气都没有:
在链配置的命名空间 Doctrine\ODM\PHPCR\Document、Symfony\Component\Routing、Symfony\Cmf\Bundle\RoutingBundle\ 中找不到类“Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock”模型, Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr, Symfony\Cmf\Bundle\MenuBundle\Model, Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr
这是什么意思以及如何治愈这种奇怪的行为?
另外,有没有人有很好的解释或教程如何使用这个伟大的 Symfony-CMF 东西?
【问题讨论】:
-
请注意 Symfony CMF 仍在积极开发中,尚未发布稳定版本。
-
@Touki,感谢您的编辑。我现在有很多情绪。我知道现在不是稳定版本,但是我觉得我的问题的解决方法很简单,但是由于某些原因我看不到它有多清晰。
标签: php symfony doctrine-orm symfony-cmf