-
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 packages. Please 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.0] but 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.0] but 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.0] but 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 installed: lib-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
-
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).
-
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.21s] Loading composer repositories with package information
[71.0MiB/10.43s] Updating dependencies
[138.9MiB/11.14s] Your 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.32] but these were not loaded, likely 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.32] but these were not loaded, likely 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?
-
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
-
- Statt 4.13.35 solltest du 4.13.* eintragen.
- Du darfst nicht auf "Anwenden" klicken, sondern musst "Alle Pakete aktualisieren".
-
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
-
Zitat:
Zitat von
Spooky
- Statt 4.13.35 solltest du 4.13.* eintragen.
- Du darfst nicht auf "Anwenden" klicken, sondern musst "Alle Pakete aktualisieren".
Top Tipp.