Ergebnis 1 bis 7 von 7

Thema: Contao 4.4 auf PHP 8.2

  1. #1
    Contao-Nutzer
    Registriert seit
    20.01.2022.
    Beiträge
    205

    Standard Contao 4.4 auf PHP 8.2

    Hallo,

    ich habe ein Contao 4.4 auf ein anderes System gespielt.
    Beim Contao-Manager sollen Abhängigkeiten installiert werden, aber das schlägt fehl mit:

    PHP-Code:

    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform
    .
    Your lock file does not contain a compatible set of packagesPlease run composer update.
      
    Problem 1
        
    contao-community-alliance/composer-plugin is locked to version 3.0.9 and an update of this package was not requested.
        - 
    contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.6.0but it does not match the constraint.
      
    Problem 2
        
    contao-components/installer is locked to version 1.3.1 and an update of this package was not requested.
        - 
    contao-components/installer 1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.6.0but it does not match the constraint.
      
    Problem 3
        
    contao/manager-plugin is locked to version 2.6.2 and an update of this package was not requested.
        - 
    contao/manager-plugin 2.6.2 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.6.0but it does not match the constraint.
      
    Problem 4
        
    lib-xsl is present at version 1.1.28.0 and cannot be modified by Composer
        
    Only one of these can be installedlib-libxslt[1.1.34], lib-xsl[1.1.28.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
        - 
    lib-libxslt is present at version 1.1.34 and cannot be modified by Composer 

    Was kann ich tun, einfach ein aktuelles Contao drüber kopieren?

    Danke


    Thomas

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.231
    Partner-ID
    10107

    Standard

    Contao 4.4 läuft nicht unter PHP 8.2. Du kannst den Contao Manager außerdem nicht nutzen, um in Contao 4.4 Extension zu installieren. Contao 4.4 hat das Lebensende schon lange erreicht und du musst auf Contao 4.13 aktualisieren (das kannst du mit dem Contao Manger erledigen).
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    20.01.2022.
    Beiträge
    205

    Standard

    Ich hab im Manager beim Contao Paket die Version 4.13.35 eingetragen und "Aktualisieren" gestartet.
    Folgende Fehlermeldung taucht auf:

    PHP-Code:

    [4.8MiB/0.21sLoading composer repositories with package information
    [71.0MiB/10.43sUpdating dependencies
    [138.9MiB/11.14sYour requirements could not be resolved to an installable set of packages.
    [
    138.9MiB/11.14s
      
    Problem 1
        
    Root composer.json requires contao/manager-bundle 4.13.35 -> satisfiable by contao/manager-bundle[4.13.35].
        - 
    contao/manager-bundle 4.13.35 requires symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.32but these were not loadedlikely because it conflicts with another require.
      
    Problem 2
        
    contao/core-bundle[4.13.25, ..., 4.13.35] require symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.32but these were not loadedlikely because it conflicts with another require.
        - 
    contao/newsletter-bundle 4.13.35 requires contao/core-bundle 4.13.35 -> satisfiable by contao/core-bundle[4.13.35].
        - 
    Root composer.json requires contao/newsletter-bundle 4.13.35 -> satisfiable by contao/newsletter-bundle[4.13.35]. 
    sollte ich es erst mit 4.13.* versuchen oder noch niedriger?

  4. #4
    Contao-Nutzer
    Registriert seit
    20.01.2022.
    Beiträge
    205

    Standard

    Mit 4.9.* scheint es vorwärts zu gehen.

    und dann auf 4.13.* .... ich hatte erst vermutet, die Zwischenschritte des Updates werden zumindest innerhalb der Version 4 automatisch aufgelöst

  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.231
    Partner-ID
    10107

    Standard

    1. Statt 4.13.35 solltest du 4.13.* eintragen.
    2. Du darfst nicht auf "Anwenden" klicken, sondern musst "Alle Pakete aktualisieren".
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Nutzer
    Registriert seit
    20.01.2022.
    Beiträge
    205

    Standard

    Habs mit dem "Umweg" über 4.9 dann auch hinbekommen.

    Danke sehr - hatte ich bislang auch noch nie, so ein "Problem", aber es war ja dann doch recht simpel.

    Thomas

  7. #7
    Contao-Nutzer
    Registriert seit
    05.05.2022.
    Beiträge
    3

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    1. Statt 4.13.35 solltest du 4.13.* eintragen.
    2. Du darfst nicht auf "Anwenden" klicken, sondern musst "Alle Pakete aktualisieren".
    Top Tipp.

Aktive Benutzer

Aktive Benutzer

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

Lesezeichen

Lesezeichen

Berechtigungen

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