【问题标题】:TYPO3.Surf installation within TYPO3 CMSTYPO3.Surf 在 TYPO3 CMS 中的安装
【发布时间】:2016-08-10 15:54:34
【问题描述】:

刚刚尝试在 TYPO3 CMS 7.6.10 安装中安装 TYPO3 Surf,但没有成功。

C:\xampp\htdocs\typo3_src-7.6.10>composer require typo3/surf=dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for typo3/surf dev-master -> satisfiable by typo3/surf[dev-master].
    - typo3/surf dev-master requires symfony/console ^2.8|^3.0 -> satisfiable by symfony/console[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.2, v3.1.3] but these conflict with your requirements or minimum-stability.


Installation failed, reverting ./composer.json to its original content.

【问题讨论】:

    标签: composer-php typo3 typo3-7.6.x typo3-surf


    【解决方案1】:

    目前没有实际使用 surf,请查看最新的测试版,因为现在使用的是 phar 文件。所以你不需要安装任何作曲家,也不会遇到你现在遇到的那些麻烦。

    查看https://github.com/TYPO3/Surf/releases

    【讨论】:

    【解决方案2】:

    目前仅适用于 TYPO3 CMS 8 及更高版本。

    TYPO3 CMS 7 使用旧版本的symfony/console

        {
          "repositories": [
            {
              "type": "composer",
              "url": "https://composer.typo3.org/"
            }
          ],
          "name": "markussom/creativeworkspace",
          "require": {
            "typo3/cms": "8.3.1 as 7.6.10",
            "typo3/cms-beuser": "^8.3",
            "typo3/cms-fluid-styled-content": "^8.3",
            "typo3/cms-filelist": "^8.3",
            "typo3/cms-impexp": "^8.3",
            "typo3/cms-lowlevel": "^8.3",
            "typo3/cms-rsaauth": "^8.3",
            "typo3/cms-rtehtmlarea": "^8.3",
            "typo3/cms-filemetadata": "^8.3",
            "typo3/cms-setup": "^8.3",
            "typo3/cms-tstemplate": "^8.3",
            "typo3/cms-viewpage": "^8.3",
            "typo3-ter/news": "^5.0.0",
            "typo3-ter/realurl": "^2.0.14",
            "helhum/typo3-console": "^3.3.1"
          },
          "scripts": {
            "package-states": [
              "./vendor/bin/typo3cms install:generatepackagestates"
            ],
            "folder-structure": [
              "./vendor/bin/typo3cms install:fixfolderstructure"
            ],
            "post-autoload-dump": [
              "@package-states",
              "@folder-structure"
            ]
          },
          "extra": {
            "typo3/cms": {
              "cms-package-dir": "{$vendor-dir}/typo3/cms",
              "web-dir": "Web"
            },
            "helhum/typo3-console": {
              "install-binary": false
            }
          }
          "require-dev": {
            "typo3/cms-belog": "^8.3",
            "typo3/cms-info": "^8.3",
            "typo3/cms-reports": "^8.3",
            "typo3/cms-info-pagetsconfig": "^8.3",
            "TYPO3/Surf": "dev-master"
          },
          "config": {
            "optimize-autoloader": true
          }
        }
    

    【讨论】:

    • 同时 TYPO3 7.6.x 依赖项已更新,可以与 TYPO3 7.6 一起安装 surf
    【解决方案3】:

    自从提出问题以来,为了在最近一段时间内继续提供替代方案,有很多人开始转向 Docker,而我知道的最简单的方法是 TYPO3 是使用 DDEV,这是开源的。目前 DDEV Live 的开源版本尚不可用,但我们正在使用 DDEV Local 进行所有本地开发,并且他们说 Live 应该很快就会出现。还有直接从 DRUD 获得的 DDEV Live,这将是一个托管解决方案,虽然我还没有亲自使用过,但听起来它的设置非常强大。

    【讨论】:

      猜你喜欢
      • 2015-06-23
      • 2017-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-16
      • 2017-05-20
      • 2018-08-03
      相关资源
      最近更新 更多