使用Symfony 2.8安装Sonata页面包错误。*

时间:2016-01-29 14:02:24

标签: symfony symfony-sonata sonata

我正在尝试从Sonata Project安装Page Bundle。出于某种原因,由于依赖性,我无法安装它。

   composer require sonata-project/page-bundle
Using version ^2.3 for sonata-project/page-bundle
  Problem 1
    - sonata-project/page-bundle 2.3.9 requires sonata-project/seo-bundle ~1.1 -> no matching package found.
    - sonata-project/page-bundle 2.3.8 requires sonata-project/seo-bundle ~1.1 -> no matching package found.
    - sonata-project/page-bundle 2.3.7 requires sonata-project/seo-bundle ~1.1 -> no matching package found.
    - sonata-project/page-bundle 2.3.6 requires sonata-project/seo-bundle ~1.1 -> no matching package found.
    - sonata-project/page-bundle 2.3.5 requires sonata-project/seo-bundle ~1.1 -> no matching package found.
    - sonata-project/page-bundle 2.3.4 requires symfony/symfony >=2.2,<2.4-dev -> no matching package found.
    - sonata-project/page-bundle 2.3.3 requires symfony/symfony >=2.2,<2.4-dev -> no matching package found.
    - sonata-project/page-bundle 2.3.2 requires symfony/symfony >=2.2,<2.4-dev -> no matching package found.
    - sonata-project/page-bundle 2.3.1 requires symfony/symfony >=2.2,<2.4-dev -> no matching package found.
    - sonata-project/page-bundle 2.3.0 requires symfony/symfony >=2.2,<2.4-dev -> no matching package found.
    - Installation request for sonata-project/page-bundle ^2.3 -> satisfiable by sonata-project/page-bundle[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Composer.json文件是---

"require": {
    "php": ">=5.3.9",
    "symfony/symfony": "2.8.*",
    "doctrine/orm": "^2.4.8",
    "doctrine/doctrine-bundle": "~1.4",

    "symfony/swiftmailer-bundle": "~2.3",
    "symfony/monolog-bundle": "~2.4",

    "sensio/distribution-bundle": "~5.0",
    "sensio/framework-extra-bundle": "^3.0.2",

    "incenteev/composer-parameter-handler": "~2.0",
    "sonata-project/core-bundle": "^2.3",
    "knplabs/knp-menu-bundle": "dev-master",

    "sonata-project/admin-bundle": "dev-master",
    "sonata-project/doctrine-orm-admin-bundle": "dev-master",
    "sonata-project/easy-extends-bundle": "^2.1",
    "sonata-project/seo-bundle": "^2.0",
    "sonata-project/notification-bundle": "^2.3",
    "sonata-project/cache-bundle": "^2.2",
    "sonata-project/datagrid-bundle": "2.2.*@dev"
},
"require-dev": {
    "sensio/generator-bundle": "~3.0",
    "symfony/phpunit-bridge": "~2.7"
},

}

我尝试了其他一些方法,但没有尝试降级seo-bundle和Symfony 2.8。*。

感谢您将来的帮助。

1 个答案:

答案 0 :(得分:0)

我将seo-bundle降低到v1.1,它就像一个魅力。

我还有其他一些问题,但至少安装完成了。