Ergebnis 1 bis 25 von 25

Thema: Contao 4.6.0-RC1 und contao-community-alliance/composer-plugin

  1. #1
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard Contao 4.6.0-RC1 und contao-community-alliance/composer-plugin

    Hallo,

    bei der Installation von Erweiterungen, egal ob über Manager oder Console, die als Abhängigkeit

    Code:
    "contao-community-alliance/composer-plugin":"~2.4 || ~3.0"
    beinhalten, können diese nicht installiert werden, weil stehst versucht wird, die Version 2.4.3 zu laden, diese ist aber nicht kompatibel.

    Kann das jemand bestätigen und gibt es eine Lösung ?

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

    Standard

    Poste die Konsolenausgabe.

  3. #3
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Hallo,


    Example für => terminal42/contao-changelanguage über Contao-Manager

    Console task terminated!
    The background task has stopped unexpectedly. Please check the console protocol.

    Code:
    $ /Applications/MAMP/bin/php/php7.1.13/bin/php '-q' '/Applications/MAMP/htdocs/core-medition/web/contao-manager.phar.php' 'composer' 'require' 'terminal42/contao-changelanguage' '--no-progress' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1
    
    Using version ^3.1 for terminal42/contao-changelanguage
    /Applications/MAMP/htdocs/core-medition/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v1.3.3
    
    # Job ID 5b530ac0da0758.28218198 completed in 25 seconds
    
    
    $ /Applications/MAMP/bin/php/php7.1.13/bin/php '-q' '/Applications/MAMP/htdocs/core-medition/web/contao-manager.phar.php' 'composer' 'install' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1
    
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 4 installs, 0 updates, 0 removals
      - Installing contao-community-alliance/composer-plugin (2.4.3): Loading from cache
      - Installing menatwork/contao-multicolumnwizard (3.3.16): Loading from cache
    
    In SymlinkInstaller.php line 154:
                                        
      mkdir(): Operation not permitted  
                                        
    
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
    
    
    # Process terminated with exit code 1
    # Result: General error

    Vorher konnte z.b. bugbuster/contao-mobiledetection-bundle ohne Probleme installiert werden.

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

    Standard

    Evt. ein Bug im Cloud Resolver.

  5. #5
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Hallo Spooky,

    Bug im Cloud Resolver ? Dann müsste es ja über das Terminal/Console gehen, dort passiert aber das gleiche.


    Code:
    core-medition Privat$ php composer.phar require terminal42/contao-changelanguage
    Using version ^3.1 for terminal42/contao-changelanguage
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 4 installs, 0 updates, 0 removals
      - Installing contao-community-alliance/composer-plugin (2.4.3): Loading from cache
      - Installing menatwork/contao-multicolumnwizard (3.3.16): Loading from cache
    
                                        
      [ErrorException]                  
      mkdir(): Operation not permitted  
                                        
    
    require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
    
    core-medition Privat$
    Geändert von NetMediaWork (21.07.2018 um 12:08 Uhr)

  6. #6
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.745
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Code:
    In SymlinkInstaller.php line 154:
                                        
      mkdir(): Operation not permitted
    Mich macht eher das stutzig. Können hier möglicherweise keine Symlinks erstellt werden?
    Außerdem scheint der Abbruch ja erst nach Auflösung aller Abhängigkeiten bei der Installation der Erweiterung [multicolumnwizard] zu passieren. Möglicherweise liegt der Fehler in dieser Erweiterung.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




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

    Standard

    Zitat Zitat von NetMediaWork Beitrag anzeigen
    Hallo Spooky,

    Bug im Cloud Resolver ? Dann müsste es ja über das Terminal/Console gehen, dort passiert aber das gleiche.
    Poste mal die composer.json

  8. #8
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Zitat Zitat von mlweb Beitrag anzeigen
    Code:
    In SymlinkInstaller.php line 154:
                                        
      mkdir(): Operation not permitted
    Mich macht eher das stutzig. Können hier möglicherweise keine Symlinks erstellt werden?
    Außerdem scheint der Abbruch ja erst nach Auflösung aller Abhängigkeiten bei der Installation der Erweiterung [multicolumnwizard] zu passieren. Möglicherweise liegt der Fehler in dieser Erweiterung.
    Ich denke sicher nicht, denn es passiert auch, wenn kein multicolumnwizard in Abhängigkeit ist.

  9. #9
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Poste mal die composer.json
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "bugbuster/contao-mobiledetection-bundle": "^1.0",
            "contao/calendar-bundle": "4.6.x-dev",
            "contao/comments-bundle": "4.6.x-dev",
            "contao/faq-bundle": "4.6.x-dev",
            "contao/listing-bundle": "4.6.x-dev",
            "contao/manager-bundle": "4.6.x-dev",
            "contao/news-bundle": "4.6.x-dev",
            "contao/newsletter-bundle": "4.6.x-dev"
        },
        "require-dev": {
            "contao/core-bundle": "4.6.x-dev",
            "contao/installation-bundle": "4.6.x-dev",
            "sensiolabs/security-checker": "^4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    nach => php composer.phar require terminal42/contao-changelanguage wird terminal42/contao-changelanguage in die composer.json eingetragen

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "bugbuster/contao-mobiledetection-bundle": "^1.0",
            "contao/calendar-bundle": "4.6.x-dev",
            "contao/comments-bundle": "4.6.x-dev",
            "contao/faq-bundle": "4.6.x-dev",
            "contao/listing-bundle": "4.6.x-dev",
            "contao/manager-bundle": "4.6.x-dev",
            "contao/news-bundle": "4.6.x-dev",
            "contao/newsletter-bundle": "4.6.x-dev",
            "terminal42/contao-changelanguage": "^3.1"
        },
        "require-dev": {
            "contao/core-bundle": "4.6.x-dev",
            "contao/installation-bundle": "4.6.x-dev",
            "sensiolabs/security-checker": "^4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Hat denn jemand eine 4.6 am laufen, wo dieser Fehler nicht auftritt ?
    Geändert von NetMediaWork (21.07.2018 um 14:28 Uhr)

  10. #10
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Example => fritzmg/contao-simple-news-urls


    Code:
    core-medition Privat$ php composer.phar require fritzmg/contao-simple-news-urls
    Using version ^3.0 for fritzmg/contao-simple-news-urls
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 2 installs, 0 updates, 0 removals
      - Installing contao-community-alliance/composer-plugin (2.4.3): Loading from cache
      - Installing fritzmg/contao-simple-news-urls (3.0.0): Downloading (100%)         
    
                                        
      [ErrorException]                  
      mkdir(): Operation not permitted  
                                        
    
    require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
    
    core-medition Privat$

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

    Standard

    Lösche mal den gesamten vendor und system/modules Ordner, lösche deinen Composer Cache und führe dann ein Composer update durch.

  12. #12
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Code:
    core-medition Privat$ php composer.phar update
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 127 installs, 0 updates, 0 removals
      - Installing ocramius/package-versions (1.3.0): Loading from cache
      - Installing contao-components/installer (1.2.7): Loading from cache
      - Installing contao-community-alliance/composer-plugin (2.4.3): Loading from cache
      - Installing symfony/polyfill-ctype (v1.8.0): Loading from cache
      - Installing symfony/polyfill-mbstring (v1.8.0): Loading from cache
      - Installing twig/twig (v2.5.0): Loading from cache
      - Installing symfony/polyfill-php72 (v1.8.0): Loading from cache
      - Installing symfony/symfony (v4.1.1): Loading from cache
      - Installing contao/manager-plugin (2.4.1): Loading from cache
      - Installing symfony/polyfill-intl-icu (v1.8.0): Loading from cache
      - Installing paragonie/random_compat (v2.0.17): Loading from cache
      - Installing psr/simple-cache (1.0.1): Loading from cache
      - Installing psr/log (1.0.2): Loading from cache
      - Installing psr/link (1.0.0): Loading from cache
      - Installing psr/container (1.0.0): Loading from cache
      - Installing psr/cache (1.0.1): Loading from cache
      - Installing fig/link-util (1.0.0): Loading from cache
      - Installing doctrine/lexer (v1.0.1): Loading from cache
      - Installing doctrine/annotations (v1.6.0): Loading from cache
      - Installing doctrine/reflection (v1.0.0): Loading from cache
      - Installing doctrine/event-manager (v1.0.0): Loading from cache
      - Installing doctrine/collections (v1.5.0): Loading from cache
      - Installing doctrine/cache (v1.7.1): Loading from cache
      - Installing doctrine/persistence (v1.0.0): Loading from cache
      - Installing doctrine/inflector (v1.3.0): Loading from cache
      - Installing doctrine/common (v2.9.0): Loading from cache
      - Installing true/punycode (v2.1.1): Loading from cache
      - Installing php-http/discovery (1.4.0): Loading from cache
      - Installing clue/stream-filter (v1.4.0): Loading from cache
      - Installing psr/http-message (1.0.1): Loading from cache
      - Installing php-http/message-factory (v1.0.2): Loading from cache
      - Installing php-http/message (1.6.0): Loading from cache
      - Installing php-http/promise (v1.0.0): Loading from cache
      - Installing php-http/httplug (v1.1.0): Loading from cache
      - Installing php-http/client-common (1.7.0): Loading from cache
      - Installing guzzlehttp/promises (v1.3.1): Loading from cache
      - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
      - Installing guzzlehttp/guzzle (6.3.3): Loading from cache
      - Installing php-http/guzzle6-adapter (v1.1.1): Loading from cache
      - Installing friendsofsymfony/http-cache (2.3.1): Loading from cache
      - Installing friendsofsymfony/http-cache-bundle (2.4.0): Loading from cache
      - Installing terminal42/header-replay-bundle (1.5.0): Loading from cache
      - Installing tecnickcom/tcpdf (6.2.17): Loading from cache
      - Installing egulias/email-validator (2.1.4): Loading from cache
      - Installing swiftmailer/swiftmailer (v6.1.2): Loading from cache
      - Installing symfony/swiftmailer-bundle (v3.2.2): Loading from cache
      - Installing paragonie/constant_time_encoding (v2.2.2): Loading from cache
      - Installing beberlei/assert (v2.9.6): Loading from cache
      - Installing spomky-labs/otphp (v9.1.0): Loading from cache
      - Installing simplepie/simplepie (1.5.1): Loading from cache
      - Installing sensio/framework-extra-bundle (v5.2.0): Loading from cache
      - Installing lcobucci/jwt (3.2.2): Loading from cache
      - Installing sonata-project/google-authenticator (1.1.0): Loading from cache
      - Installing scheb/two-factor-bundle (v3.7.1): Loading from cache
      - Installing phpunit/php-token-stream (3.0.0): Loading from cache
      - Installing phpspec/php-diff (v1.1.0): Loading from cache
      - Installing patchwork/utf8 (v1.3.1): Loading from cache
      - Installing oyejorge/less.php (v1.7.0.14): Loading from cache
      - Installing nelmio/cors-bundle (1.5.4): Loading from cache
      - Installing michelf/php-markdown (1.8.0): Loading from cache
      - Installing matthiasmullie/path-converter (1.1.1): Loading from cache
      - Installing matthiasmullie/minify (1.3.60): Loading from cache
      - Installing league/uri-interfaces (1.1.0): Loading from cache
      - Installing league/uri-parser (1.4.0): Loading from cache
      - Installing league/uri-schemes (1.2.0): Loading from cache
      - Installing league/uri-hostname-parser (1.1.1): Loading from cache
      - Installing league/uri-components (1.8.1): Loading from cache
      - Installing league/uri-manipulations (1.5.0): Loading from cache
      - Installing leafo/scssphp (v0.7.6): Loading from cache
      - Installing knplabs/knp-time-bundle (1.8.0): Loading from cache
      - Installing knplabs/knp-menu (2.3.0): Loading from cache
      - Installing knplabs/knp-menu-bundle (v2.2.1): Loading from cache
      - Installing imagine/imagine (v0.7.1): Loading from cache
      - Installing doctrine/doctrine-cache-bundle (1.3.3): Loading from cache
      - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
      - Installing doctrine/dbal (v2.8.0): Loading from cache
      - Installing doctrine/doctrine-bundle (1.9.1): Loading from cache
      - Installing contao/imagine-svg (0.2.1): Loading from cache
      - Installing webmozart/assert (1.3.0): Loading from cache
      - Installing webmozart/path-util (2.3.0): Loading from cache
      - Installing contao/image (0.3.7): Loading from cache
      - Installing contao-components/tinymce4 (4.7.13): Loading from cache
      - Installing contao-components/tablesorter (2.0.5.6): Loading from cache
      - Installing contao-components/tablesort (3.4.10): Loading from cache
      - Installing contao-components/swipe (2.0.6.2): Loading from cache
      - Installing contao-components/simplemodal (2.0.8): Loading from cache
      - Installing contao-components/respimage (1.4.2): Loading from cache
      - Installing contao-components/mootools (1.6.0.5): Loading from cache
      - Installing contao-components/mediaelement (4.2.9): Loading from cache
      - Installing contao-components/mediabox (1.5.4.2): Loading from cache
      - Installing contao-components/jquery-ui (1.12.1.1): Loading from cache
      - Installing contao-components/jquery (3.3.1): Loading from cache
      - Installing contao-components/html5shiv (3.7.3): Loading from cache
      - Installing contao-components/highlight (9.12.0): Loading from cache
      - Installing contao-components/dropzone (5.3.1): Loading from cache
      - Installing contao-components/datepicker (2.2.0.4): Loading from cache
      - Installing contao-components/contao (8.0.1): Loading from cache
      - Installing contao-components/compass (0.12.2.1): Loading from cache
      - Installing contao-components/colorpicker (1.4.0.2): Loading from cache
      - Installing contao-components/colorbox (1.6.4.1): Loading from cache
      - Installing contao-components/chosen (1.1.10): Loading from cache
      - Installing contao-components/ace (1.3.3): Loading from cache
      - Installing dasprid/enum (1.0.0): Loading from cache
      - Installing bacon/bacon-qr-code (2.0.0): Loading from cache
      - Installing ausi/slug-generator (v1.0.1): Loading from cache
      - Installing contao/core-bundle (4.6.x-dev 964c272): Cloning 964c272fe6 from cache
      - Installing contao/calendar-bundle (4.6.x-dev 58f0906): Cloning 58f0906e34 from cache
      - Installing contao/comments-bundle (4.6.x-dev a547129): Cloning a547129f5a from cache
      - Installing contao/faq-bundle (4.6.x-dev 7180406): Cloning 71804066f8 from cache
      - Installing contao/listing-bundle (4.6.x-dev 744d334): Cloning 744d3341bb from cache
      - Installing toflar/psr6-symfony-http-cache-store (1.1.1): Loading from cache
      - Installing monolog/monolog (1.23.0): Loading from cache
      - Installing symfony/monolog-bundle (v3.3.0): Loading from cache
      - Installing ua-parser/uap-php (v3.5.0): Loading from cache
      - Installing nelmio/security-bundle (2.5.1): Loading from cache
      - Installing lexik/maintenance-bundle (v2.1.5): Loading from cache
      - Installing sensiolabs/ansi-to-html (v1.1.3): Loading from cache
      - Installing contao/installation-bundle (4.6.x-dev 88dd25c): Cloning 88dd25cc2f from cache
      - Installing contao/manager-bundle (4.6.x-dev 171ef0e): Cloning 171ef0e28d from cache
      - Installing contao/news-bundle (4.6.x-dev 52221a3): Cloning 52221a3e44 from cache
      - Installing contao/newsletter-bundle (4.6.x-dev 48551f2): Cloning 48551f20d2 from cache
      - Installing fritzmg/contao-simple-news-urls (3.0.0): Loading from cache
    
                                        
      [ErrorException]                  
      mkdir(): Operation not permitted  
                                        
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
    
    core-medition Privat$

  13. #13
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Das ist das Problem => - Installing contao-community-alliance/composer-plugin (2.4.3): Loading from cache

    Es müsste dort eigentlich die Version 3.x geladen werden, so wie in der Contao 4.4 / 4.5 ...

    Die Frage ist, ob das nur bei mir auftritt oder ob jemand den Fehler auch bei seinem Test einer Contao-Version 4.6.0-RC1 nachvollziehen kann.

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

    Standard

    Füge mal contao-community-alliance/composer-plugin:^3.0 als requirement hinzu.

  15. #15
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Füge mal contao-community-alliance/composer-plugin:^3.0 als requirement hinzu.
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "bugbuster/contao-mobiledetection-bundle": "^1.0",
            "contao/calendar-bundle": "4.6.x-dev",
            "contao/comments-bundle": "4.6.x-dev",
            "contao/faq-bundle": "4.6.x-dev",
            "contao/listing-bundle": "4.6.x-dev",
            "contao/manager-bundle": "4.6.x-dev",
            "contao/news-bundle": "4.6.x-dev",
            "contao/newsletter-bundle": "4.6.x-dev",
            "contao-community-alliance/composer-plugin":"^3.0",
            "fritzmg/contao-simple-news-urls": "^3.0"
        },
        "require-dev": {
            "contao/core-bundle": "4.6.x-dev",
            "contao/installation-bundle": "4.6.x-dev",
            "sensiolabs/security-checker": "^4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Code:
    core-medition Privat$ php composer.phar update
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 130 installs, 0 updates, 0 removals
      - Installing ocramius/package-versions (1.3.0): Loading from cache
      - Installing contao-components/installer (1.2.7): Loading from cache
      - Installing symfony/polyfill-ctype (v1.8.0): Loading from cache
      - Installing symfony/polyfill-mbstring (v1.8.0): Loading from cache
      - Installing twig/twig (v2.5.0): Loading from cache
      - Installing symfony/polyfill-intl-icu (v1.8.0): Loading from cache
      - Installing paragonie/random_compat (v2.0.17): Loading from cache
      - Installing symfony/polyfill-php70 (v1.8.0): Loading from cache
      - Installing symfony/polyfill-util (v1.8.0): Loading from cache
      - Installing symfony/polyfill-php56 (v1.8.0): Loading from cache
      - Installing symfony/polyfill-apcu (v1.8.0): Loading from cache
      - Installing psr/simple-cache (1.0.1): Loading from cache
      - Installing psr/log (1.0.2): Loading from cache
      - Installing psr/link (1.0.0): Loading from cache
      - Installing psr/container (1.0.0): Loading from cache
      - Installing psr/cache (1.0.1): Loading from cache
      - Installing fig/link-util (1.0.0): Loading from cache
      - Installing doctrine/lexer (v1.0.1): Loading from cache
      - Installing doctrine/annotations (v1.6.0): Loading from cache
      - Installing doctrine/reflection (v1.0.0): Loading from cache
      - Installing doctrine/event-manager (v1.0.0): Loading from cache
      - Installing doctrine/collections (v1.5.0): Loading from cache
      - Installing doctrine/cache (v1.7.1): Loading from cache
      - Installing doctrine/persistence (v1.0.0): Loading from cache
      - Installing doctrine/inflector (v1.3.0): Loading from cache
      - Installing doctrine/common (v2.9.0): Loading from cache
      - Installing symfony/symfony (v3.4.12): Loading from cache
      - Installing contao/manager-plugin (2.4.1): Loading from cache
      - Installing contao-community-alliance/composer-plugin (3.0.8): Loading from cache
      - Installing true/punycode (v2.1.1): Loading from cache
      - Installing php-http/discovery (1.4.0): Loading from cache
      - Installing clue/stream-filter (v1.4.0): Loading from cache
      - Installing psr/http-message (1.0.1): Loading from cache
      - Installing php-http/message-factory (v1.0.2): Loading from cache
      - Installing php-http/message (1.6.0): Loading from cache
      - Installing php-http/promise (v1.0.0): Loading from cache
      - Installing php-http/httplug (v1.1.0): Loading from cache
      - Installing php-http/client-common (1.7.0): Loading from cache
      - Installing guzzlehttp/promises (v1.3.1): Loading from cache
      - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
      - Installing guzzlehttp/guzzle (6.3.3): Loading from cache
      - Installing php-http/guzzle6-adapter (v1.1.1): Loading from cache
      - Installing friendsofsymfony/http-cache (2.3.1): Loading from cache
      - Installing friendsofsymfony/http-cache-bundle (2.4.0): Loading from cache
      - Installing terminal42/header-replay-bundle (1.5.0): Loading from cache
      - Installing tecnickcom/tcpdf (6.2.17): Loading from cache
      - Installing egulias/email-validator (2.1.4): Loading from cache
      - Installing swiftmailer/swiftmailer (v6.1.2): Loading from cache
      - Installing symfony/swiftmailer-bundle (v3.2.2): Loading from cache
      - Installing paragonie/constant_time_encoding (v2.2.2): Loading from cache
      - Installing beberlei/assert (v2.9.6): Loading from cache
      - Installing spomky-labs/otphp (v9.1.0): Loading from cache
      - Installing simplepie/simplepie (1.5.1): Loading from cache
      - Installing sensio/framework-extra-bundle (v5.2.0): Loading from cache
      - Installing lcobucci/jwt (3.2.2): Loading from cache
      - Installing sonata-project/google-authenticator (1.1.0): Loading from cache
      - Installing scheb/two-factor-bundle (v3.7.1): Loading from cache
      - Installing phpunit/php-token-stream (3.0.0): Loading from cache
      - Installing phpspec/php-diff (v1.1.0): Loading from cache
      - Installing patchwork/utf8 (v1.3.1): Loading from cache
      - Installing oyejorge/less.php (v1.7.0.14): Loading from cache
      - Installing nelmio/cors-bundle (1.5.4): Loading from cache
      - Installing michelf/php-markdown (1.8.0): Loading from cache
      - Installing matthiasmullie/path-converter (1.1.1): Loading from cache
      - Installing matthiasmullie/minify (1.3.60): Loading from cache
      - Installing league/uri-interfaces (1.1.0): Loading from cache
      - Installing league/uri-parser (1.4.0): Loading from cache
      - Installing league/uri-schemes (1.2.0): Loading from cache
      - Installing league/uri-hostname-parser (1.1.1): Loading from cache
      - Installing league/uri-components (1.8.1): Loading from cache
      - Installing league/uri-manipulations (1.5.0): Loading from cache
      - Installing leafo/scssphp (v0.7.6): Loading from cache
      - Installing knplabs/knp-time-bundle (1.8.0): Loading from cache
      - Installing knplabs/knp-menu (2.3.0): Loading from cache
      - Installing knplabs/knp-menu-bundle (v2.2.1): Loading from cache
      - Installing imagine/imagine (v0.7.1): Loading from cache
      - Installing doctrine/doctrine-cache-bundle (1.3.3): Loading from cache
      - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
      - Installing doctrine/dbal (v2.8.0): Loading from cache
      - Installing doctrine/doctrine-bundle (1.9.1): Loading from cache
      - Installing contao/imagine-svg (0.2.1): Loading from cache
      - Installing webmozart/assert (1.3.0): Loading from cache
      - Installing webmozart/path-util (2.3.0): Loading from cache
      - Installing contao/image (0.3.7): Loading from cache
      - Installing contao-components/tinymce4 (4.7.13): Loading from cache
      - Installing contao-components/tablesorter (2.0.5.6): Loading from cache
      - Installing contao-components/tablesort (3.4.10): Loading from cache
      - Installing contao-components/swipe (2.0.6.2): Loading from cache
      - Installing contao-components/simplemodal (2.0.8): Loading from cache
      - Installing contao-components/respimage (1.4.2): Loading from cache
      - Installing contao-components/mootools (1.6.0.5): Loading from cache
      - Installing contao-components/mediaelement (4.2.9): Loading from cache
      - Installing contao-components/mediabox (1.5.4.2): Loading from cache
      - Installing contao-components/jquery-ui (1.12.1.1): Loading from cache
      - Installing contao-components/jquery (3.3.1): Loading from cache
      - Installing contao-components/html5shiv (3.7.3): Loading from cache
      - Installing contao-components/highlight (9.12.0): Loading from cache
      - Installing contao-components/dropzone (5.3.1): Loading from cache
      - Installing contao-components/datepicker (2.2.0.4): Loading from cache
      - Installing contao-components/contao (8.0.1): Loading from cache
      - Installing contao-components/compass (0.12.2.1): Loading from cache
      - Installing contao-components/colorpicker (1.4.0.2): Loading from cache
      - Installing contao-components/colorbox (1.6.4.1): Loading from cache
      - Installing contao-components/chosen (1.1.10): Loading from cache
      - Installing contao-components/ace (1.3.3): Loading from cache
      - Installing dasprid/enum (1.0.0): Loading from cache
      - Installing bacon/bacon-qr-code (2.0.0): Loading from cache
      - Installing ausi/slug-generator (v1.0.1): Loading from cache
      - Installing contao/core-bundle (4.6.x-dev 964c272): Cloning 964c272fe6 from cache
      - Installing contao/calendar-bundle (4.6.x-dev 58f0906): Cloning 58f0906e34 from cache
      - Installing contao/comments-bundle (4.6.x-dev a547129): Cloning a547129f5a from cache
      - Installing contao/faq-bundle (4.6.x-dev 7180406): Cloning 71804066f8 from cache
      - Installing contao/listing-bundle (4.6.x-dev 744d334): Cloning 744d3341bb from cache
      - Installing toflar/psr6-symfony-http-cache-store (1.1.1): Loading from cache
      - Installing monolog/monolog (1.23.0): Loading from cache
      - Installing symfony/monolog-bundle (v3.3.0): Loading from cache
      - Installing ua-parser/uap-php (v3.5.0): Loading from cache
      - Installing nelmio/security-bundle (2.5.1): Loading from cache
      - Installing lexik/maintenance-bundle (v2.1.5): Loading from cache
      - Installing sensiolabs/ansi-to-html (v1.1.3): Loading from cache
      - Installing contao/installation-bundle (4.6.x-dev 88dd25c): Cloning 88dd25cc2f from cache
      - Installing contao/manager-bundle (4.6.x-dev 171ef0e): Cloning 171ef0e28d from cache
      - Installing contao/news-bundle (4.6.x-dev 52221a3): Cloning 52221a3e44 from cache
      - Installing contao/newsletter-bundle (4.6.x-dev 48551f2): Cloning 48551f20d2 from cache
      - Installing fritzmg/contao-simple-news-urls (3.0.0): Loading from cache
      - Installing composer/ca-bundle (1.1.1): Loading from cache
      - Installing sensiolabs/security-checker (v4.1.8): Loading from cache
      - Installing mobiledetect/mobiledetectlib (2.8.32): Loading from cache
      - Installing bugbuster/contao-mobiledetection-bundle (1.0.1): Loading from cache
    paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
    doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
    php-http/discovery suggests installing puli/composer-plugin (Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details.)
    php-http/message suggests installing zendframework/zend-diactoros (Used with Diactoros Factories)
    php-http/message suggests installing slim/slim (Used with Slim Framework PSR-7 implementation)
    php-http/client-common suggests installing php-http/logger-plugin (PSR-3 Logger plugin)
    php-http/client-common suggests installing php-http/cache-plugin (PSR-6 Cache plugin)
    php-http/client-common suggests installing php-http/stopwatch-plugin (Symfony Stopwatch plugin)
    simplepie/simplepie suggests installing mf2/mf2 (Microformat module that allows for parsing HTML for microformats)
    sensio/framework-extra-bundle suggests installing symfony/psr-http-message-bridge (To use the PSR-7 converters)
    lcobucci/jwt suggests installing mdanter/ecc (Required to use Elliptic Curves based algorithms.)
    patchwork/utf8 suggests installing ext-wfio (Use WFIO for UTF-8 filesystem access on Windows)
    imagine/imagine suggests installing ext-imagick (to use the Imagick implementation)
    imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation)
    doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (For using this bundle to cache ACLs)
    doctrine/doctrine-bundle suggests installing doctrine/orm (The Doctrine ORM integration is optional in the bundle.)
    bacon/bacon-qr-code suggests installing ext-imagick (to generate QR code images)
    monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
    monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
    monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
    monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
    monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
    monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
    monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
    monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
    monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
    monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
    monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
    Writing lock file
    Generating autoload files
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    
     Added/updated the web/.htaccess file.
     Added/updated the web/app.php file.
     Added/updated the web/app_dev.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
                                                                                    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
                                                                                    
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
                                                                                    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.   
                                                                                    
    
    
     Trying to install assets as relative symbolic links.
    
     --- ------------------------ ------------------ 
          Bundle                   Method / Error    
     --- ------------------------ ------------------ 
      ?   ContaoCoreBundle         relative symlink  
      ?   ContaoFaqBundle          relative symlink  
      ?   ContaoNewsBundle         relative symlink  
      ?   ContaoNewsletterBundle   relative symlink  
      ?   ContaoCalendarBundle     relative symlink  
      ?   ContaoCommentsBundle     relative symlink  
     --- ------------------------ ------------------ 
    
                                                                                    
     [OK] All assets were successfully installed.                                   
                                                                                    
    
    
     * system/config
     * web/system
     * assets/css
     * assets/js
     * system/cache
     * system/themes
     * system/tmp
     * web/share
     * assets/images
    
    
     --- ------------------------------ ----------------------------------------------------------------- 
          Symlink                        Target / Error                                                   
     --- ------------------------------ ----------------------------------------------------------------- 
      !   web/files/bootstrap/4.1.1/js   Skipped because files/bootstrap will be symlinked.               
      ?   web/files/bootstrap            files/bootstrap                                                  
      ?   web/files/css                  files/css                                                        
      ?   web/files/masonry              files/masonry                                                    
      ?   system/themes/flexible         vendor/contao/core-bundle/src/Resources/contao/themes/flexible   
      ?   web/assets                     assets                                                           
      ?   web/system/themes              system/themes                                                    
      ?   system/logs                    var/logs                                                         
      ?   system/config/tcpdf.php        vendor/contao/core-bundle/src/Resources/contao/config/tcpdf.php  
     --- ------------------------------ ----------------------------------------------------------------- 
    
    core-medition Privat$


    So läuft es durch, ich probiere gleich noch mal terminal42/contao-changelanguage hinterher zu schieben.

    Scheint auf jeden Fall ein BUG in Contao 4.6 zu sein beim Auflösen der richtigen Abhängigkeiten bzw. gab es nicht mal eine Diskussion bezüglich der richtigen Schreibweise ^2.4|^3.0 oder ^2.4||^3.0 ?

  16. #16
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    php composer.phar require terminal42/contao-changelanguage funktioniert auch jetzt.

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

    Standard

    Nein mit der Schreibweise hat das nichts zu tun. Prinzipiell ist es so, dass Version 2.x des composer-plugin keine besonderen Abhängigkeiten oder Konflikte hat, dadurch ist bei der Abhängigkeitsauflösung im Composer dieser Pfad immer möglich und daher könnte es theoretisch, je nach den anderen Millionen von Umständen, jederzeit dazu kommen, dass Version 2.x statt 3.x benutzt wird.

    Version 2.x ist aber mit Contao 4 nicht kompatibel.

  18. #18
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Hallo,

    na irgendwo muss ja diesbezüglich, was geändert worden sein in c4.6.0-RC1 da das Problem ja in 4.4.x und 4.5.x nicht auftrat, das sollte man für die Finale Version unbedingt berücksichtigen. Erstaunlich das dies noch niemandem aufgefallen ist oder es tested niemand die RC ...

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

    Standard

    Entferne mal den composer-plugin Eintrag aus deiner composer.json, führe ein composer update aus und führe dann das Kommando
    Code:
    composer whynot contao-community-alliance/composer-plugin:^3.0
    aus.

  20. #20
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Entferne mal den composer-plugin Eintrag aus deiner composer.json, führe ein composer update aus und führe dann das Kommando
    Code:
    composer whynot contao-community-alliance/composer-plugin:^3.0
    aus.

    why-not


    Code:
    core-medition Privat$ php composer.phar why-not contao-community-alliance/composer-plugin:^3.0
    contao-community-alliance/composer-plugin  3.0.0  requires          symfony/finder (^2.7)                      
    contao/managed-edition                     -      does not require  symfony/finder (but v4.1.1 is installed)   
    contao-community-alliance/composer-plugin  3.0.0  requires          symfony/process (^2.7)                     
    contao/managed-edition                     -      does not require  symfony/process (but v4.1.1 is installed)  
    core-medition Privat$

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

    Standard

    Ah, es liegt an Symfony 4. Das composer-plugin ist in Version 3 nicht für Symfony 4 freigegeben. Version 2 hat keinerlei Symfony Abhängigkeiten, daher wird auch diese Version genommen.

  22. #22
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    ... und wenn "contao-community-alliance/composer-plugin":"^3.0" als require in die composer.json geschrieben wird, dann wird symfony 3 installiert


    Code:
    - Installing symfony/symfony (v3.4.12): Loading from cache
    was sicher dann andere Probleme irgendwo hervorrufen wird

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

    Standard

    Nein, das verursacht keine Probleme.

  24. #24
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.745
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Das heißt es müssten die entsprechenden Abhängigkeiten nachträglich für die Version 2 aufgenommen werden.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  25. #25
    Contao-Fan
    Registriert seit
    29.07.2010.
    Beiträge
    516

    Standard

    Zitat Zitat von mlweb Beitrag anzeigen
    Das heißt es müssten die entsprechenden Abhängigkeiten nachträglich für die Version 2 aufgenommen werden.
    Der richtige Weg wäre sicher contao-community-alliance-composer-plugin für Symfony 4 freizugeben, siehe Post #21

    Spooky:
    "Ah, es liegt an Symfony 4. Das composer-plugin ist in Version 3 nicht für Symfony 4 freigegeben. Version 2 hat keinerlei Symfony Abhängigkeiten, daher wird auch diese Version genommen."

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
  •