Ergebnis 1 bis 9 von 9

Thema: Contao Cookiebar von Oveleon

  1. #1
    Contao-Nutzer
    Registriert seit
    23.04.2016.
    Beiträge
    178

    Standard Contao Cookiebar von Oveleon

    Möchte die Contao Cookiebar installieren - es läuft Contao Version 4.9.11

    Warum kann ich die Erweiterung nicht installieren? Wie kann ich den Fehler beheben? Bitte um dringende Hilfe!

    Beim Installieren der Erweiterung kommt folgende Fehlermeldung:

    PHP-Code:

    composer update oveleon
    /contao-cookiebar contao/conflicts --no-install
    Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    [6.8MiB/0.20sLoading composer repositories with package information
    [7.3MiB/0.26sInfo from https://repo.packagist.org: #StandWithUkraine
    [66.0MiB/8.19sUpdating dependencies
    [84.8MiB/8.63sYour requirements could not be resolved to an installable set of packages.
    [
    84.8MiB/8.63s
      
    Problem 1
        
    Root composer.json requires composer-runtime-api ^1.0found composer-runtime-api[2.2.2but it does not match the constraint.
      
    Problem 2
        
    Root composer.json requires oveleon/contao-cookiebar ^1.13 -> satisfiable by oveleon/contao-cookiebar[1.13.01.13.1].
        - 
    oveleon/contao-cookiebar[1.13.0, ..., 1.13.1] require contao/core-bundle ^4.9.28 -> found contao/core-bundle[4.9.28, ..., 4.13.30but these were not loadedlikely because it conflicts with another require.
    [
    84.8MiB/8.63s] <warning>Running update with --no-dev does not mean require-dev is ignoredit just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [
    38.2MiB/8.66sMemory usage38.18MB (peak186.33MB), time8.68s.
    [
    38.2MiB/8.66sFinished Composer Cloud resolving.
    # Cloud Job ID 1BNMjJ4FxbGiMHczKHEZJNgCx5gXjre4Wq7QuTtrXzSCBZqZZTrDnibe6VWum6jBvgmzKtJ75sCjXshYUDyoPGSOnVb61AT0ciEXAdCubeyKty failed 

  2. #2
    Contao-Urgestein
    Registriert seit
    20.09.2012.
    Ort
    Lüneburger Heide
    Beiträge
    1.992
    Partner-ID
    12207
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Moin,

    für die Version 1.13.0/1.13.1 benötigst Du scheinbar Contao >= 4.9.28.

    Würde ein Update auf Contao 4.13 in Frage kommen? So könntest Du die neuste Composerversion und eine neuere Version des Cookiebanners verwenden.

    Poste mal Deine composer.json

    Grüße
    Autodidakt und HobbyWebdesigner

    www.webdesign24.biz
    Screencasts zu Contao

  3. #3
    Contao-Nutzer
    Registriert seit
    23.04.2016.
    Beiträge
    178

    Standard

    Kann man das irgendwie umgehen ? Oder eine ältere Version installieren von der Cookiebar?

    Ich möchte mir das Update ersparen - da ich die Cookiebar im Nachhinein bei ungefähr 20 Projekten installieren möchte wo noch 4.9 läuft.
    PHP-Code:

    {
        
    "type""project",
        
    "require": {
            
    "composer-runtime-api""^1.0",
            
    "codefog/contao-cookiebar""^2.3",
            
    "contao/conflicts""*@dev",
            
    "contao/listing-bundle""4.9.*",
            
    "contao/manager-bundle""4.9.*",
            
    "contao/news-bundle""4.9.*",
            
    "dma/dma_elementgenerator""dev-develop",
            
    "metamodels/attribute_select""^2.1",
            
    "metamodels/attribute_tabletext""^2.1",
            
    "metamodels/bundle_start""^2.1",
            
    "metamodels/core""^2.1",
            
    "metamodels/filter_checkbox""^2.1"
        
    },
        
    "extra": {
            
    "contao-component-dir""assets"
        
    },
        
    "scripts": {
            
    "post-install-cmd": [
                
    "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            
    ],
            
    "post-update-cmd": [
                
    "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            
    ]
        }


  4. #4
    Contao-Urgestein Avatar von cliffparnitzky
    Registriert seit
    08.10.2010.
    Ort
    Lüneburg
    Beiträge
    2.451
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du kannst im Contao Manager die Versionsnummer angeben, wenn du auf das Zahnrad klickst. Gib dort "^1.3" (ohne Anführungszeichen) ein.

    Was meinst du mit "Ich möchte mir das Update ersparen" ??? In der abgebildeten composer.json ist die Cookiebar von Codefog drin.

  5. #5
    Contao-Fan
    Registriert seit
    24.02.2021.
    Beiträge
    455

    Standard

    PHP-Code:
    oveleon/contao-cookiebar[1.13.0, ..., 1.13.1] require contao/core-bundle ^4.9.28 

    Wenn du bei Contao 4.9.11 bist
    Man kann zumindest ein Update auf eine höhere Patch-Version von Contao machen und trotzdem auf Contao 4.9 bleiben.

    Die von dir betriebene oder gewartete Website hat also folgende Sicherheitslücken:

    Von jedem angreifbar
    Cross site scripting in the system log
    - https://github.com/contao/contao/sec...h58v-c6rf-g9f7

    Hier kann also jeder Schadcode einfügen, indem er JavaScript in Schnipseln als Username mit falschem Passwort beim /contao -Login eintippt.
    Das nächste mal, wenn jemand das System-Log aufruft, ist die Attacke schon durchgeführt <3


    Für angemeldete User im Backend
    PHP file inclusion via insert tags
    - https://github.com/contao/contao/sec...r6mv-ppjc-4hgr

    Privilege escalation with the form generator
    - https://github.com/contao/contao/sec...hq5m-mqmx-fw6m

    Cross site scripting via canonical URL
    - https://github.com/contao/contao/sec...m8x6-6r63-qvj2

    Directory traversal in the file manager
    - https://github.com/contao/contao/sec...fp7q-xhhw-6rj3

    Cross site scripting in widgets with units
    - https://github.com/contao/contao/sec...4gpr-p634-922x


    Die Cookiebar in der neuen Version (1.13) braucht mindestens Contao 4.9.28, du wirst sie also nicht installieren können.
    Nutze entweder eine ältere Version der oveleon/contao-cookiebar, wobei es hier auch einige Sicherheitspatches gab wie zum Beispiel XSS über iFrames,
    SQL-Injection usw, welche schon vor langer Zeit gepatcht wurden.

    _______

    Also:
    Nutze eine ältere Version der oveleon/contao-cookiebar

  6. #6
    Contao-Nutzer
    Registriert seit
    23.04.2016.
    Beiträge
    178

    Standard

    ich hätte die cookiebar in einer älteren version versucht zu installieren aber dann kommt wieder eine fehlermeldung:

    PHP-Code:

    composer update oveleon
    /contao-cookiebar contao/conflicts --no-install
    Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    [6.8MiB/0.18sLoading composer repositories with package information
    [66.0MiB/8.26sUpdating dependencies
    [84.8MiB/8.62sYour requirements could not be resolved to an installable set of packages.
    [
    84.8MiB/8.62s
      
    Problem 1
        
    Root composer.json requires composer-runtime-api ^1.0found composer-runtime-api[2.2.2but it does not match the constraint.
    [
    84.8MiB/8.62s] <warning>Running update with --no-dev does not mean require-dev is ignoredit just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [
    38.2MiB/8.65sMemory usage38.19MB (peak186.43MB), time8.67s.
    [
    38.2MiB/8.65sFinished Composer Cloud resolving.
    # Cloud Job ID 0uZqCT9cOx3C2yU66HUrrKlb2VHzQumiiBRaMdgz9QyJks8b5njIA6EH1vtND8XTAAakdLtsoiznepAYVgomx7tdU5jDu3mKEI5LPYWEatb5eZffC failed
    composer install 
    was passt da noch nicht oder was ist hier der Fehler? Versteh es leider nicht

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

    Support Contao

    Standard

    Zitat Zitat von LenaMaurer Beitrag anzeigen

    PHP-Code:
      Problem 1
        
    Root composer.json requires composer-runtime-api ^1.0found  composer-runtime-api[2.2.2but it does not match the constraint
    Da passt dann mit den übrigen Anforderungen etwas nicht.
    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.




  8. #8
    Contao-Nutzer
    Registriert seit
    23.04.2016.
    Beiträge
    178

    Standard

    Scheinbar liegt es nicht an der Cookiebar sondern generell bei allen Contao Installationen mit 4.9. kann ich keine Erweiterung installieren - egal welche - es kommt immer eine Fehlermeldung:

    PHP-Code:
    composer require markocupic/gallery-creator-bundle
    composer update contao
    -components/installer markocupic/gallery-creator-bundle contao/conflicts --no-install
    Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    [6.0MiB/0.18sLoading composer repositories with package information
    [6.4MiB/0.26sInfo from https://repo.packagist.org: #StandWithUkraine
    [64.3MiB/8.53sUpdating dependencies
    [81.1MiB/8.71sYour requirements could not be resolved to an installable set of packages.
    [
    81.1MiB/8.71s
      
    Problem 1
        
    contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.3.0but it does not match the constraint.
        - 
    codefog/contao-cookiebar 2.2.1 requires contao-community-alliance/composer-plugin ~2.4 || ~3.0 -> satisfiable by contao-community-alliance/composer-plugin[3.0.9].
        - 
    codefog/contao-cookiebar is locked to version 2.2.1 and an update of this package was not requested.
    [
    81.1MiB/8.71s] <warning>Running update with --no-dev does not mean require-dev is ignoredit just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [
    36.7MiB/8.73sMemory usage36.7MB (peak181.95MB), time8.74s.
    [
    36.7MiB/8.74sFinished Composer Cloud resolving.
    # Cloud Job ID EbLTvgzHe6siNOzRvsuk0w2AXN2AQ7MtNmC3KGiZHPskemTimyngSxo5NW5T7j5iMphcZemUujODjNg13i24CA74tFwNe6990W9TWmN failed 
    Geändert von LenaMaurer (06.10.2023 um 19:06 Uhr)

  9. #9
    Contao-Fan
    Registriert seit
    24.02.2021.
    Beiträge
    455

    Standard

    Zitat Zitat von LenaMaurer Beitrag anzeigen
    PHP-Code:
    codefog/contao-cookiebar is locked to version 2.2.1 and an update of this package was not requested
    Du nutzt immer noch die alte composer.json, welche du gepostet hast.

    Ziehe dir bitte vorher ein Backup für die nachfolgenden Änderungen, wenn du nicht vertraut mit composer.lock bist.
    (Falls doch, dann diese einmal runterladen... denn über Kommandozeile kannst du mit dieser composer.lock über composer install alles wiederherstellen... Kein Backup, kein Sorry ist hier immer mein Gedanke)

    Entferne bitte die cookiebar von codefog und führe danach bitte eine vollständige Paketaktualisierung durch:

    Im Contao-Manager:
    complete.png

    Über Kommandozeile:
    PHP-Code:
    composer update 

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
  •