terminal42 / contao-conditionalselectmenu

A Contao select menu widget which display options conditionally depending on another (conditional) select menu.
MIT License
6 stars 5 forks source link

Installation unter Contao 5.3 schlägt fehl #11

Closed Schmidty2 closed 4 months ago

Schmidty2 commented 4 months ago

Die Installation unter Contao 5.3 ist nicht möglich. PHP 8.3.8, Contao 5.3.11 bei All-Inkl.

Hier die Ausgabe der Konsole:

$ /bin/php83 -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/w1234567/verzeichnisname/public/contao-manager.phar.php composer require terminal42/contao-conditionalselectmenu --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction

Using version ^4.0 for terminal42/contao-conditionalselectmenu
/www/htdocs/w1234567/verzeichnisname/composer.json has been updated

# Process terminated with exit code 0
# Result: OK

> Resolving dependencies using Composer Cloud v3.7.1

[7.0MiB/0.18s] Loading composer repositories with package information
[75.8MiB/8.19s] Updating dependencies
[175.2MiB/9.02s] Your requirements could not be resolved to an installable set of packages.
[175.2MiB/9.03s] 
  Problem 1
    - contao/core-bundle[4.9.0, ..., 4.10.4] require php ^7.2 -> your php version (8.3.8.0) does not satisfy that requirement.
    - Root composer.json requires terminal42/contao-conditionalselectmenu ^4.0 -> satisfiable by terminal42/contao-conditionalselectmenu[4.0.0, ..., 4.0.4].
    - contao/newsletter-bundle 5.3.2 requires contao/core-bundle 5.3.2 -> satisfiable by contao/core-bundle[5.3.2].
    - Conclusion: don't install contao/core-bundle 5.3.2 (conflict analysis result)
    - contao/newsletter-bundle 5.3.3 requires contao/core-bundle 5.3.3 -> satisfiable by contao/core-bundle[5.3.3].
    - Conclusion: don't install contao/core-bundle 5.3.3 (conflict analysis result)
    - contao/newsletter-bundle 5.3.4 requires contao/core-bundle 5.3.4 -> satisfiable by contao/core-bundle[5.3.4].
    - Conclusion: don't install contao/core-bundle 5.3.4 (conflict analysis result)
    - contao/newsletter-bundle 5.3.5 requires contao/core-bundle 5.3.5 -> satisfiable by contao/core-bundle[5.3.5].
    - Conclusion: don't install contao/core-bundle 5.3.5 (conflict analysis result)
    - contao/newsletter-bundle 5.3.6 requires contao/core-bundle 5.3.6 -> satisfiable by contao/core-bundle[5.3.6].
    - Conclusion: don't install contao/core-bundle 5.3.6 (conflict analysis result)
    - contao/newsletter-bundle 5.3.7 requires contao/core-bundle 5.3.7 -> satisfiable by contao/core-bundle[5.3.7].
    - Conclusion: don't install contao/core-bundle 5.3.7 (conflict analysis result)
    - contao/newsletter-bundle 5.3.8 requires contao/core-bundle 5.3.8 -> satisfiable by contao/core-bundle[5.3.8].
    - Conclusion: don't install contao/core-bundle 5.3.8 (conflict analysis result)
    - contao/newsletter-bundle 5.3.9 requires contao/core-bundle 5.3.9 -> satisfiable by contao/core-bundle[5.3.9].
    - Conclusion: don't install contao/core-bundle 5.3.9 (conflict analysis result)
    - contao/newsletter-bundle 5.3.10 requires contao/core-bundle 5.3.10 -> satisfiable by contao/core-bundle[5.3.10].
    - Conclusion: don't install contao/core-bundle 5.3.10 (conflict analysis result)
    - contao/newsletter-bundle 5.3.11 requires contao/core-bundle 5.3.11 -> satisfiable by contao/core-bundle[5.3.11].
    - Conclusion: don't install contao/core-bundle 5.3.11 (conflict analysis result)
    - contao/newsletter-bundle 5.3.1 requires contao/core-bundle 5.3.1 -> satisfiable by contao/core-bundle[5.3.1].
    - Conclusion: don't install contao/core-bundle 5.3.1 (conflict analysis result)
    - terminal42/contao-conditionalselectmenu[4.0.0, ..., 4.0.4] require contao/core-bundle ^4.9 -> satisfiable by contao/core-bundle[4.9.0, ..., 4.13.45].
    - You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.9.0, ..., 4.13.45, 5.3.0, ..., 5.3.11].
    - contao/newsletter-bundle 5.3.0 requires contao/core-bundle 5.3.0 -> satisfiable by contao/core-bundle[5.3.0].
    - Root composer.json requires contao/newsletter-bundle 5.3.* -> satisfiable by contao/newsletter-bundle[5.3.0, ..., 5.3.11].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
[175.2MiB/9.03s] 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.
[56.1MiB/9.12s] Memory usage: 56.13MB (peak: 195.71MB), time: 9.13s.
[56.1MiB/9.13s] Finished Composer Cloud resolving.

# Cloud Job ID bH5yvX7rTa1zsPDzh2Rrf3te6pAUNCdugzKFbuVz5WwQUrTdXnAvYHcsbQOkQk2M6DtL6gnBqnJRw0lT6JGh3XHk failed
Toflar commented 4 months ago

Ist auch nicht kompatibel mit Contao 5, siehe composer.json.

aschempp commented 4 months ago

Kannst du die aktuelle dev-main prüfen, ob sie für dich mit Contao 5 funktioniert?

Schmidty2 commented 4 months ago

Die Installation läuft jetzt durch. Jetzt bekomme ich im Backend beim Aufruf der Edit-Funktion der Formularfelder einen Fehler. Der Feher ist weg, wenn ich conditionalselectmenu deinstalliere.

Hier der Stack-Trace:

Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot declare class Terminal42\ConditionalSelectMenuBundle\Widget\FormSelectMenu because the name is already in use

  at vendor/terminal42/contao-conditionalselectmenu/src/Widget/FrontendWidget.php:23 

Hier die composer.json:

{
    "type": "project",
    "require": {
        "bugbuster/contao-be_user_online-bundle": "^2.3",
        "bugbuster/contao-botstatistics-bundle": "^1.1",
        "bugbuster/contao-dlstats-bundle": "^1.5",
        "bugbuster/contao-statistic_group-bundle": "^1.1",
        "bugbuster/contao-visitors-bundle": "^1.13",
        "contao/calendar-bundle": "5.3.*",
        "contao/comments-bundle": "5.3.*",
        "contao/conflicts": "*@dev",
        "contao/faq-bundle": "5.3.*",
        "contao/listing-bundle": "5.3.*",
        "contao/manager-bundle": "5.3.*",
        "contao/news-bundle": "5.3.*",
        "contao/newsletter-bundle": "5.3.*",
        "hofff/contao-calendarfield": "dev-contao5",
        "madeyourday/contao-rocksolid-columns": "^2.1",
        "madeyourday/contao-rocksolid-custom-elements": "^2.4",
        "madeyourday/contao-rocksolid-icon-picker": "^2.1",
        "madeyourday/contao-rocksolid-mega-menu": "^2.2",
        "madeyourday/contao-rocksolid-slider": "^2.2",
        "madeyourday/contao-rocksolid-theme-assistant": "^2.1",
        "numero2/contao-proper-filenames": "^2.1",
        "terminal42/contao-conditionalformfields": "^3.1",
        "terminal42/contao-conditionalselectmenu": "dev-main",
        "terminal42/contao-leads": "^3.0",
        "terminal42/notification_center": "^2.0",
        "trilobit-gmbh/contao-tiles-bundle": "^2.0"
    },
    "extra": {
        "public-dir": "public",
        "contao-component-dir": "assets"
    },
    "scripts": {
        "post-install-cmd": [
            "@php vendor/bin/contao-setup"
        ],
        "post-update-cmd": [
            "@php vendor/bin/contao-setup"
        ]
    }
}
aschempp commented 4 months ago

Versuch es bitte nochmals.

Schmidty2 commented 4 months ago

Jetzt funktioniert alles :-) Danke

aschempp commented 4 months ago

Danke, habe Version 4.1.0 jetzt veröffentlicht.