Contao-Summit 2026
Ergebnis 1 bis 4 von 4

Thema: Upgrad auf Contao6, was will die Fehlermeldung sagen?

  1. #1
    Contao-Fan Avatar von Birden
    Registriert seit
    15.01.2011.
    Beiträge
    897

    Standard Upgrad auf Contao6, was will die Fehlermeldung sagen?

    Ich wollte es wagen, von 5.7 auf 6.0. Doch ich verstehe die Fehlermeldung nicht, liegt es an changelanguage?

    Code:
    $ /bin/php84 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /www/htdocs/w0000000/projekta/public/contao-manager.phar.php composer require contao/manager-bundle=6.0.* contao/news-bundle=6.0.* contao/calendar-bundle=6.0.* contao/listing-bundle=6.0.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /www/htdocs/w0000000/projekta/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.10.1
    
    [7.4MiB/0.22s] Loading composer repositories with package information
    [86.0MiB/15.33s] Updating dependencies
    [165.7MiB/16.45s] Your requirements could not be resolved to an installable set of packages.
    [165.7MiB/16.45s] 
      Problem 1
        - Root composer.json requires contao/calendar-bundle 6.0.* -> satisfiable by contao/calendar-bundle[6.0.0].
        - Root composer.json requires terminal42/contao-changelanguage ^3.8 -> satisfiable by terminal42/contao-changelanguage[3.8.0, ..., 3.8.7].
        - contao/calendar-bundle 6.0.0 requires contao/core-bundle 6.0.0 -> satisfiable by contao/core-bundle[6.0.0].
        - terminal42/contao-changelanguage[3.8.0, ..., 3.8.7] require contao/core-bundle ^5.3 -> satisfiable by contao/core-bundle[5.3.0, ..., 5.7.12].
        - You can only install one version of a package, so only one of these can be installed: contao/core-bundle[5.3.0, ..., 5.7.12, 6.0.0].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    [165.7MiB/16.45s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [59.0MiB/16.55s] Memory usage: 59.02MB (peak: 168.28MB), time: 16.56s.
    [59.0MiB/16.55s] Finished Composer Cloud resolving.
    
    
    # Cloud Job ID QBrZv8Bb1jkHtMvakp4hLpvXztAVExY7dxEK15q6VAgU61mV6qf5XweWCkFSKWxB19jmMBEVc8Bsjr7UQilYcgZoWHEu70j2J3i failed
    Comoser.json:

    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "5.7.*",
            "contao/conflicts": "*@dev",
            "contao/listing-bundle": "5.7.*",
            "contao/manager-bundle": "5.7.*",
            "contao/news-bundle": "5.7.*",
            "terminal42/contao-changelanguage": "^3.8"
        },
        "config": {
            "allow-plugins": {
                "composer/package-versions-deprecated": true,
                "contao-community-alliance/composer-plugin": true,
                "contao-components/installer": true,
                "contao/manager-plugin": true,
                "php-http/discovery": false
            }
        },
        "extra": {
            "contao-component-dir": "assets",
            "public-dir": "public"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }

  2. #2
    Contao-Nutzer
    Registriert seit
    30.04.2010.
    Beiträge
    32
    Partner-ID
    xenbyte

    Standard

    Deine Vermutung stimmt. changelanguage unterstützt nur die 5er Versionen ab 5.3, aber kein Contao 6. Es gibt bislang auch noch kein Pull-Request für die 6er Kompatibilität und das wird vermutlich auch noch etwas mehr Arbeit als nur die constraints zu ändern, weil changelanguage noch keine Twig-Template hat.

  3. #3
    Contao-Fan Avatar von Birden
    Registriert seit
    15.01.2011.
    Beiträge
    897

    Standard

    Okay, danke.

  4. #4
    Contao-Nutzer
    Registriert seit
    30.12.2010.
    Beiträge
    235

    Standard

    Da mache ich gerne mal Werbung für: https://contao-update-check.de/

    Das Tool hätte folgendes verraten (mit Zielversion 6.0):
    terminal42/contao-changelanguage ^3.8 Inkompatibel — Höchste Version unterstützt nur Contao ^5.3.
    Gruß CeeKay

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 4 (Registrierte Benutzer: 0, Gäste: 4)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •