[英]How to install SonataAdminBundle on Wamp?
I am try to install Sonata Admin Bundle on WAMP . 我尝试在WAMP上安装Sonata Admin Bundle。 To begin, add the dependent bundles to the vendor/bundles directory. 首先,将相关的捆绑包添加到vendor / bundles目录。 Add the following lines to the file deps . 将以下行添加到文件deps中 。
[SonatajQueryBundle]
git=http://github.com/sonata-project/SonatajQueryBundle.git
target=/bundles/Sonata/jQueryBundle
[SonataUserBundle]
git=http://github.com/sonata-project/SonataUserBundle.git
target=/bundles/Sonata/UserBundle
[SonataAdminBundle]
git=http://github.com/sonata-project/SonataAdminBundle.git
target=/bundles/Sonata/AdminBundle
[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=/bundles/Knp/Bundle/MenuBundle
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git
target=/knp/menu
[SonataDoctrineORMAdminBundle]
git=http://github.com/sonata-project/SonataDoctrineORMAdminBundle.git
target=/bundles/Sonata/DoctrineORMAdminBundle
Now problem in install these bundle in vendor. 现在在供应商中安装这些捆绑包时出现问题。 I run this commend php bin/vendors install
but it's show Try to run ./bin/vendors install --reinstall
我运行此推荐的php bin/vendors install
但显示Try to run ./bin/vendors install --reinstall
Is there something wrong with my Bundle. 我的捆绑软件有问题吗? I am really not sure what to do about this. 我真的不知道该怎么办。 Please help. 请帮忙。
I appreciate all the help. 我感谢所有的帮助。
Thanks! 谢谢!
You might be using incompatible versions of Symfony
and SonataAdminBundle
. 您可能正在使用Symfony
和SonataAdminBundle
不兼容版本。
Also, you might be missing SonataBlockBundle
and SonataCacheBundle
which are required with the latest versions of SonataAdminBundle
(have a look at the SonataAdmin installation reference ). 此外,您可能会丢失SonataBlockBundle
和SonataCacheBundle
所需要用最新版本的SonataAdminBundle
(看看在SonataAdmin安装参考 )。 Symfony
, SonataAdminBundle
and Doctrine2
only work together in specific combinations. Symfony
, SonataAdminBundle
和Doctrine2
仅在特定的组合中一起工作。
Suggestion: Try the relevant instructions in this tutorial , or better yet, clone this repository and configure it according to the instructions. 建议:请尝试本教程中的相关说明,或者更好的方法是,克隆该存储库并根据说明进行配置。
You'll have a working install, to which you can then add your existing bundle. 您将有一个有效的安装,然后可以在其中添加现有的捆绑软件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.