我有使用Symfony 2.0.9的PropelBundle版本的问题。
ErrorException:用户已弃用:PropelBundle使用新的分支模型,您应该切换到1.0分支(1.0.x版本)。有关更多信息,请阅读:https://github.com/propelorm/PropelBundle/wiki在/home/project_path/vendor/bundles/spreep/PropelBundle/PropelBundle中。php第28行
但是,在deps文件中,PropelBundle版本设置为1.0,如下所示:https://github.com/propelorm/PropelBundle/wiki
[PropelBundle]吉特=git://github.com/propelorm/PropelBundle.git目标=/bundles/spreep/PropelBundle版本=原点/1.0
[芬]吉特=git://github.com/Xosofox/phing.gittarget=/phing
[propel]git=git://github.com/propelorm/Propel.git目标=/propel版本=起源/1.0
git=http://github.com/doctrine/data-fixtures.git
[DoctrineFixturesBundle]git=http://github.com/doctrine/DoctrineFixturesBundle.git目标=/bundles/Symfony/Bundle/DoctrineFixturesBundle版本=源/2.0
我试图重新安装供应商,但没有任何改变。
编辑:多亏了Williams,我解决了这个问题,但是现在我出现了以下错误:
./创作者phar update nothing初始化PEAR存储库http://pear.phing.info更新依赖项无法将您的需求解析为可安装的包集。
问题1-系统中缺少请求的PHP扩展ext mongo*。问题2-条令/mongodb开发主机需要ext mongo*-
潜在原因:-软件包名称输入错误-根据最低稳定性设置,软件包的版本不够稳定,请参阅https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion更多细节。
这些包是AdminGenerator所必需的,我正在尝试安装AdminGenerator。
似乎您使用的是旧版本的供应商。
首先,删除您的Phing配置,并使用官方存储库:https://github.com/phingofficial/phing
然后,删除您的PropelBundle供应商(rm-rf供应商/.../PropelBundle)并重新安装。只有跟踪主分支时才会出现此消息。