Ergebnis 1 bis 33 von 33

Thema: Gelöst An error occurred while loading the web debug toolbar.

  1. #1
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Daumen hoch Gelöst An error occurred while loading the web debug toolbar.

    Hallo,

    ich habe hier eine Contao 4.4 Version laufen die ich demnächst wohl auf Contao 4.9 updaten müsste.

    Für mich stellt sich jedoch die Frage, welchen Weg ich dafür nehmen sollte. Copy der Umgebung ist klar. Aber gibt es, um Abhänigkeiten aufzulösen sowas wie einen Testlauf?
    Sprich Composer "mach Testlauf" und zeige mir alle Erweiterungen an, die für 4.9 nicht mehr freigeben sind?
    Geändert von Acta (08.02.2022 um 07:13 Uhr)

  2. #2
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Besteht die Möglichkeit eines Testlaufs um zu sehen welche Erweiterungen nicht mehr funktionieren werden?

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

    Standard

    Du kannst mit dem Testlauf nur die Abhängigkeiten testen. Also ob eine Extension dann noch installiert werden kann. Ob die Erweiterung tatsächlich dann funktioniert kannst du damit nicht testen.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    kannst du mir noch den Befehl verraten?

    Bei früheren Contao-Versionssprüngen gab es immer mal so einen Beitrag im Forum wo aufgelistet war, was sich im Vergleich zur Vorversion gravierend geändert hat.

    Meist gab es da immer noch ein paar Hinweise zum Update. Zur Version 4.9 finde ich da kein angepinnten Beitrag. Gab es also keine systemrelevanten Änderungen?

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

    Standard

    Zitat Zitat von Acta Beitrag anzeigen
    kannst du mir noch den Befehl verraten?
    composer update --dry-run


    Zitat Zitat von Acta Beitrag anzeigen
    Bei früheren Contao-Versionssprüngen gab es immer mal so einen Beitrag im Forum wo aufgelistet war, was sich im Vergleich zur Vorversion gravierend geändert hat.

    Meist gab es da immer noch ein paar Hinweise zum Update. Zur Version 4.9 finde ich da kein angepinnten Beitrag. Gab es also keine systemrelevanten Änderungen?
    Da gibt es https://github.com/contao/contao/blob/5.x/DEPRECATED.md und https://github.com/contao/contao/blob/5.x/UPGRADE.md
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Code:
      - contao/managed-edition is present at version 1.0.0+no-version-set and cannot be modified by Composer
        - contao/manager-bundle 4.9.2 requires contao/core-bundle 4.9.2 -> satisfiable by contao/core-bundle[4.9.2].
        - Conclusion: don't install contao/core-bundle 4.9.2 (conflict analysis result)
        - contao/manager-bundle 4.9.3 requires contao/core-bundle 4.9.3 -> satisfiable by contao/core-bundle[4.9.3].
        - Conclusion: don't install contao/core-bundle 4.9.3 (conflict analysis result)
        - contao/manager-bundle 4.9.4 requires contao/core-bundle 4.9.4 -> satisfiable by contao/core-bundle[4.9.4].
        - Conclusion: don't install contao/core-bundle 4.9.4 (conflict analysis result)
        - contao/manager-bundle 4.9.5 requires contao/core-bundle 4.9.5 -> satisfiable by contao/core-bundle[4.9.5].
        - Conclusion: don't install contao/core-bundle 4.9.5 (conflict analysis result)
        - contao/manager-bundle 4.9.6 requires contao/core-bundle 4.9.6 -> satisfiable by contao/core-bundle[4.9.6].
        - Conclusion: don't install contao/core-bundle 4.9.6 (conflict analysis result)
        - contao/manager-bundle 4.9.7 requires contao/core-bundle 4.9.7 -> satisfiable by contao/core-bundle[4.9.7].
        - Conclusion: don't install contao/core-bundle 4.9.7 (conflict analysis result)
        - contao/manager-bundle 4.9.8 requires contao/core-bundle 4.9.8 -> satisfiable by contao/core-bundle[4.9.8].
        - Conclusion: don't install contao/core-bundle 4.9.8 (conflict analysis result)
        - contao/manager-bundle 4.9.9 requires contao/core-bundle 4.9.9 -> satisfiable by contao/core-bundle[4.9.9].
        - Conclusion: don't install contao/core-bundle 4.9.9 (conflict analysis result)
        - contao/manager-bundle 4.9.10 requires contao/core-bundle 4.9.10 -> satisfiable by contao/core-bundle[4.9.10].
        - Conclusion: don't install contao/core-bundle 4.9.10 (conflict analysis result)
        - contao/manager-bundle 4.9.11 requires contao/core-bundle 4.9.11 -> satisfiable by contao/core-bundle[4.9.11].
        - Conclusion: don't install contao/core-bundle 4.9.11 (conflict analysis result)
        - contao/manager-bundle 4.9.12 requires contao/core-bundle 4.9.12 -> satisfiable by contao/core-bundle[4.9.12].
        - Conclusion: don't install contao/core-bundle 4.9.12 (conflict analysis result)
        - contao/manager-bundle 4.9.13 requires contao/core-bundle 4.9.13 -> satisfiable by contao/core-bundle[4.9.13].
        - Conclusion: don't install contao/core-bundle 4.9.13 (conflict analysis result)
        - contao/manager-bundle 4.9.14 requires contao/core-bundle 4.9.14 -> satisfiable by contao/core-bundle[4.9.14].
        - Conclusion: don't install contao/core-bundle 4.9.14 (conflict analysis result)
        - contao/manager-bundle 4.9.15 requires contao/core-bundle 4.9.15 -> satisfiable by contao/core-bundle[4.9.15].
        - Conclusion: don't install contao/core-bundle 4.9.15 (conflict analysis result)
        - contao/manager-bundle 4.9.16 requires contao/core-bundle 4.9.16 -> satisfiable by contao/core-bundle[4.9.16].
        - Conclusion: don't install contao/core-bundle 4.9.16 (conflict analysis result)
        - contao/manager-bundle 4.9.17 requires contao/core-bundle 4.9.17 -> satisfiable by contao/core-bundle[4.9.17].
        - Conclusion: don't install contao/core-bundle 4.9.17 (conflict analysis result)
        - contao/manager-bundle 4.9.18 requires contao/core-bundle 4.9.18 -> satisfiable by contao/core-bundle[4.9.18].
        - Conclusion: don't install contao/core-bundle 4.9.18 (conflict analysis result)
        - contao/manager-bundle 4.9.19 requires contao/core-bundle 4.9.19 -> satisfiable by contao/core-bundle[4.9.19].
        - Conclusion: don't install contao/core-bundle 4.9.19 (conflict analysis result)
        - contao/manager-bundle 4.9.20 requires contao/core-bundle 4.9.20 -> satisfiable by contao/core-bundle[4.9.20].
        - Conclusion: don't install contao/core-bundle 4.9.20 (conflict analysis result)
        - contao/manager-bundle 4.9.21 requires contao/core-bundle 4.9.21 -> satisfiable by contao/core-bundle[4.9.21].
        - Conclusion: don't install contao/core-bundle 4.9.21 (conflict analysis result)
        - contao/manager-bundle 4.9.22 requires contao/core-bundle 4.9.22 -> satisfiable by contao/core-bundle[4.9.22].
        - Conclusion: don't install contao/core-bundle 4.9.22 (conflict analysis result)
        - contao/manager-bundle 4.9.23 requires contao/core-bundle 4.9.23 -> satisfiable by contao/core-bundle[4.9.23].
        - Conclusion: don't install contao/core-bundle 4.9.23 (conflict analysis result)
        - contao/manager-bundle 4.9.24 requires contao/core-bundle 4.9.24 -> satisfiable by contao/core-bundle[4.9.24].
        - Conclusion: don't install contao/core-bundle 4.9.24 (conflict analysis result)
        - contao/manager-bundle 4.9.25 requires contao/core-bundle 4.9.25 -> satisfiable by contao/core-bundle[4.9.25].
        - Conclusion: don't install contao/core-bundle 4.9.25 (conflict analysis result)
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.7.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.6.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.5.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.4.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.3.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.2.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.1.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.0.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.11.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.10.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.9.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.8.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.7.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.6.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.5.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.4.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.3.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.2.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.1.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.3.0.
        - Root composer.json requires bugbuster/contao-be_user_online-bundle ^1.0.2 -> satisfiable by bugbuster/contao-be_user_online-bundle[1.0.2].
        - contao/manager-bundle 4.9.1 requires contao/core-bundle 4.9.1 -> satisfiable by contao/core-bundle[4.9.1].
        - Conclusion: don't install contao/core-bundle 4.9.1 (conflict analysis result)
        - bugbuster/contao-be_user_online-bundle 1.0.2 requires contao/core-bundle ~4.3,<4.5 -> satisfiable by contao/core-bundle[4.3.0, ..., 4.4.57].
        - Only one of these can be installed: contao/core[2.6.0, ..., 2.11.17, 3.0.0, ..., 3.5.40], contao/core-bundle[4.0.0, ..., 4.12.5]. contao/core replaces contao/core-bundle and thus cannot coexist with it.
        - contao/manager-bundle 4.9.0 requires contao/core-bundle 4.9.0 -> satisfiable by contao/core-bundle[4.9.0].
        - Root composer.json requires contao/manager-bundle 4.9.* -> satisfiable by contao/manager-bundle[4.9.0, ..., 4.9.25].
    Ich habe hier ein Contao 4.4.57 welches über die Komandozeile installiert und geupdatet werden muss. Aus der Fehlermeldung beim dry run werd ich aber nicht wirklich schlau!

  7. #7
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Meine 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": "^5.6 || ^7.0",
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/conflicts": "@dev",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.9.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "codefog/contao-events_subscriptions": "^2.3",
            "codefog/contao-mobile_menu": "^2.7",
            "oneup/contao-ical-export": "^2.0",
    		"bugbuster/contao-be_user_online-bundle": "^1.0.2",
            "numero2/contao-proper-filenames": "^2.0",
            "cliffparnitzky/form-dependent-mandatory-field": "^2.1",
            "terminal42/contao-conditionalformfields": "^2.2",
            "erdmannfreunde/euf_overlay": "^1.2"
        },
        "conflict": {
            "contao-components/installer": "<1.3",
            "contao/core-bundle": "<4.4.8"
    
        },
        "extra": {
            "branch-alias": {
                "dev-4.4": "4.4.x-dev"
            },
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }

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

    Standard

    Du hast bugbuster/contao-be_user_online-bundle in Version 1.x installiert. Version 1.x dieses Pakets ist aber nicht mit höheren Contao Versionen kompatibel. Du musst die Extension auf 2.x aktualisieren.
    » sponsor me via GitHub or PayPal or Revolut

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

    Standard

    Übrigens mit
    Code:
    composer outdated --direct
    kannst du nachsehen, welche direkt verwendeten Pakete out of date sind. Der Contao Manager sollte dir das aber auch anzeigen.
    » sponsor me via GitHub or PayPal or Revolut

  10. #10
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Code:
    composer require bugbuster/contao-be_user_online-bundle
    Using version ^2.0 for bugbuster/contao-be_user_online-bundle
    ./composer.json has been updated
    Running composer update bugbuster/contao-be_user_online-bundle
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires contao/manager-bundle 4.9.*, found contao/manager-bundle[4.9.0, ..., 4.9.25] but the package is fixed to 4.4.57 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
      Problem 2
        - bugbuster/contao-be_user_online-bundle[2.0.0, ..., 2.0.2] require contao/core-bundle ~4.5 -> found contao/core-bundle[4.5.0, ..., 4.12.5] but the package is fixed to 4.4.57 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - bugbuster/contao-be_user_online-bundle[2.0.3, ..., 2.0.4] require contao/core-bundle ~4.9 -> found contao/core-bundle[4.9.0, ..., 4.12.5] but the package is fixed to 4.4.57 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
        - Root composer.json requires bugbuster/contao-be_user_online-bundle ^2.0 -> satisfiable by bugbuster/contao-be_user_online-bundle[2.0.0, ..., 2.0.4].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    
    Installation failed, reverting ./composer.json and ./composer.lock to their original content.
    Das hatte ich schon probiert zu updaten...

    Oder muss ich neben Version 4.9 in der Composer JSON auch gleich noch VERSION 2.0.4 von BUGbuster angeben?

    Ich dachte das macht der immer gleich automatisch?

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

    Standard

    Zitat Zitat von Acta Beitrag anzeigen
    Das hatte ich schon probiert zu updaten...

    Oder muss ich neben Version 4.9 in der Composer JSON auch gleich noch VERSION 2.0.4 von BUGbuster angeben?

    Ich dachte das macht der immer gleich automatisch?
    Du musst wenn dann alle Pakete zum Update markieren. Version 2.x der Extension verlangt mindestens Contao 4.9.
    » sponsor me via GitHub or PayPal or Revolut

  12. #12
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    ich hab hier leider keine managed version laufen... da ich hinter einem proxy sitze...

  13. #13
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Laut https://docs.contao.org/manual/de/in...aktualisieren/

    Muss ich nur "require": {
    "contao/manager-bundle": "4.9.*",

    Anpassen... :-(

  14. #14
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Okay mit der Anpassung 4.9 und bei Bugbuster 2.0.4 läuft das update erstmal

    STAY TUNED :-)

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

    Standard

    Zitat Zitat von Acta Beitrag anzeigen
    ich hab hier leider keine managed version laufen... da ich hinter einem proxy sitze...
    Meinst du, du hast tatsächlich keine Contao Managed Edition oder meinst du nur, dass du nicht den Contao Manager nutzt? Und wieso leider? Wenn du eh alles per Konsole machen kannst, passt doch alles




    Zitat Zitat von Acta Beitrag anzeigen
    Laut https://docs.contao.org/manual/de/in...aktualisieren/

    Muss ich nur "require": {
    "contao/manager-bundle": "4.9.*",

    Anpassen... :-(
    Wenn du keine Extensions installiert hast, ist das auch alles was du anpassen musst. Wenn du aber auch Pakete verlangst, die nicht mit neueren Contao Versionen kompatibel sind, musst du natürlich auch diese anpassen.
    » sponsor me via GitHub or PayPal or Revolut

  16. #16
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    So Update lief durch:

    Folgende Fragen:

    app\Resources\contao\dca

    Hatte ich verschiedene Anpassungen unter 4.4

    Code:
    $GLOBALS['TL_DCA']['tl_member']['fields']['username']['sql'] = "varchar(64) COLLATE utf8_general_ci NULL";  
    $GLOBALS['TL_DCA']['tl_article']['list']['label']['fields'][] = 'id'; 
    $GLOBALS['TL_DCA']['tl_article']['list']['label']['format'] = '%s %s (ID: %s)';
    if (!$this->User->isAdmin)
    {
      $GLOBALS['TL_DCA']['tl_article']['fields']['printable']['options'] = array('print', 'pdf');
    }
    Ich habe die Dateien in 4.9 nun direkt unter:
    Resources\contao\dca

    liegen... aber dieser werden nicht wahrgenommen? Gibt es diese DCA Geschichten nimmer?

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

    Standard

    Zitat Zitat von Acta Beitrag anzeigen
    Ich habe die Dateien in 4.9 nun direkt unter:
    Resources\contao\dca
    Warum hast du das gemacht? Das ist der falsche Ordner. Richtig wäre einer von diesen:

    • app/Resources/contao/dca/
    • contao/dca/ (Contao 4.9+)
    » sponsor me via GitHub or PayPal or Revolut

  18. #18
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    https://docs.contao.org/manual/de/in...ntao-umziehen/

    Hatte hier falsch geschaut.

    Mit dem richtigen Pfad geht alles

  19. #19
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    https://docs.contao.org/manual/de/system/debug-modus/

    Ich scheitere gerade daran, den Debug-Modus über das Backend zu starten. Bei mir gibt es keine .env-Datei.

    Demzufolge müsste laut Anleitung ein Button für den Debug-Modus erscheinen... tut es aber irgendwie nicht.

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

    Standard

    Welche Contao Version?
    » sponsor me via GitHub or PayPal or Revolut

  21. #21
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    4.9.25

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

    Standard

    Wenn rechts oben der Button nicht da ist, bist du entweder kein Admin oder es ist bereits eine APP_ENV Umgebungsvariable definiert. Oder du nutzt nicht die Managed Edition (da bin ich mir allerdings nicht sicher).
    » sponsor me via GitHub or PayPal or Revolut

  23. #23
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Also die .env Datei habe ich gelöscht...

    Admin bin ich.

    Wie finde ich heraus ob ich die managed-version nutze?

    Wie gesagt ich hab alles per Konsole gemacht.. :_)

    Laut Composer Info:

    Code:
    contao/imagine-svg                                 1.0.3            Contao Imagine SVG library
    contao/installation-bundle                         4.9.25           Required to install and update Contao
    contao/listing-bundle                              4.9.25           Allows to list arbitrary data in the Contao fr...
    contao/manager-bundle                              4.9.25           Symfony bundle for the Contao Managed Edition
    contao/manager-plugin                              2.11.1           Contao 4 manager plugin
    contao/news-bundle                                 4.9.25           Adds news functionality to Contao
    contao/newsletter-bundle                           4.9.25           Adds newsletter functionality to Contao

  24. #24
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Also ich hatte unter 4.4 den Debug-Modus laufen. Dann habe ich das Update auf 4.9 gemacht...der Button ist aber nicht da... Dann hatte ich gesehen, dass eine .env vorhanden war... die habe ich dann gelöscht...

    Dennoch kein Button vorhanden...

  25. #25
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    So jetzt habe ich im Hauptverzeichnis htdocs/contaoupdate/ eine .env Datei mit dem Inhalt

    Code:
    APP_ENV=dev
    hinterlegt.

    Dann habe ich einmal composer install gemacht, damit er den Cache clear und symlinks etc erstellt.....

    Danach habe ich mich ganz normal auf meine Domain eingeloggt... einen Debug-Modus sehe ich aber nicht...

    Wie kann ich prüfen, ob die .env überhaupt greift?
    Geändert von Acta (04.02.2022 um 10:49 Uhr)

  26. #26
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Ich push das nochmal.... jemand ne idee?

  27. #27
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    So:

    Ich habe jetzt den Contao Manager installiert in das System....(JUHU ER LÄUFT)

    Dann habe ich den DEBUG MODUS aktiviert

    Und dann aus dem Manager Heraus - TOOLS- > Contao DEBUG Modus aufgerufen.

    Jetzt Sehe ich zumindest wie in 4.4 die schwarze Leiste unten:

    Aber diese zeigt nur:
    Code:
    An error occurred while loading the web debug toolbar.
    Im Error-Log von Contao finde ich jetzt erstmal keine Antwort.

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

    Standard

    Prüfe den Response im Network Tab deiner Browser Developer Tools.
    » sponsor me via GitHub or PayPal or Revolut

  29. #29
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Code:
    GEThttps://xxx.domain.de/preview.php/login.html?_hash=LFbWr88Vk+B+HEi93tigewBsIhIHszjfvr2AVx3H1qg=&redirect=https://xxx.domain.de/preview.php/
    [HTTP/1.1 200 OK 1253ms]
    
    Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. login.html
    Das Cookie "sf_redirect" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. login.html
    Das Cookie "sf_redirect" wurde abgelehnt, da es bereits abgelaufen ist. login.html
    GEThttps://xxx.domain.de/assets/jquery/js/jquery.min.js?v=d81c99a3
    [HTTP/1.1 304 Not Modified 0ms]
    
    GEThttps://xxx.domain.de/system/modules/mobile_menu/assets/js/mobile-menu.jquery.min.js?v=73422bf2
    [HTTP/1.1 304 Not Modified 7ms]
    
    GEThttps://xxx.domain.de/assets/jquery-ui/js/jquery-ui.min.js?v=1.12.1.1
    [HTTP/1.1 200 Connection established 163ms]
    
    GEThttps://xxx.domain.de/assets/colorbox/js/colorbox.min.js?v=1.6.6
    [HTTP/1.1 200 Connection established 154ms]
    
    GEThttps://xxx.domain.de/assets/tablesorter/js/tablesorter.min.js?v=2.31.3
    [HTTP/1.1 200 Connection established 151ms]
    
    GEThttps://xxx.domain.de/assets/swipe/js/swipe.min.js?v=2.2.0
    [HTTP/1.1 200 Connection established 145ms]
    
    GEThttps://xxx.domain.de/assets/mootools/js/mootools.min.js?v=e7821d5f
    [HTTP/1.1 304 Not Modified 5ms]
    
    XHRGEThttps://xxx.domain.de/preview.php/contao/preview_switch
    [HTTP/1.1 200 OK 926ms]
    
    XHRGEThttps://xxx.domain.de/preview.php/_wdt/e1837c
    [HTTP/1.1 302 Found 986ms]
    
    GEThttps://xxx.domain.de/files/webconsulting/icons/apple-touch-icon.png
    [HTTP/1.1 200 OK 26ms]
    
    GEThttps://xxx.domain.de/files/webconsulting/icons/favicon-16x16.png
    [HTTP/1.1 200 OK 11ms]
    
    XHRGEThttps://xxx.domain.de/_wdt/e1837c?
    [HTTP/1.1 303 See Other 680ms].

  30. #30
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Getestet habe ich auch verschiedene Browser.

    In Contao 4.4 (läuft auf dem selben Server) läuft alles ohne Probleme.

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

    Standard

    Im genauen geht es um den Request auf /_wdt, da müsstest du den Reponse prüfen.
    » sponsor me via GitHub or PayPal or Revolut

  32. #32
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    Code:
    scheme
    	https
    host
    	xxx.domain.de
    filename
    	/_wdt/087de0
    Adresse
    	172.xx.x.xxxx:3128
    Status
    303
    See Other
    VersionHTTP/1.1
    Übertragen498 B (28 B Größe)
    Referrer Policystrict-origin-when-cross-origin
    
    	
    Cache-Control
    	private
    Connection
    	keep-alive
    Contao-Cache
    	miss
    Content-Length
    	28
    Content-Type
    	text/html; charset=UTF-8
    Date
    	Mon, 07 Feb 2022 10:17:17 GMT
    Keep-Alive
    	timeout=5, max=96
    Permissions-Policy
    	interest-cohort=()
    Referrer-Policy
    	no-referrer-when-downgrade, strict-origin-when-cross-origin
    Server
    	Apache/2.4.38 (Win64) OpenSSL/1.1.1a PHP/7.2.15
    X-Ajax-Location
    	https://xxx.domain.de/
    x-powered-by
    	PHP/7.2.15
    	
    Accept
    	*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	de,en-US;q=0.7,en;q=0.3
    Cache-Control
    	no-cache
    Connection
    	keep-alive
    Cookie
    	_pk_id.1.d49e=47389ce04c4a906e.1644218521.1.1644218542.1644218521.; contao_settings=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkZWJ1ZyI6dHJ1ZSwiaWF0IjoxNjQ0MjI3OTgwLCJleHAiOjE2NDQyMjk3ODB9.mw402UhAavNdcVYTDG7O_Z6qT0l7hkx1-oJhd5U63_Y; csrf_https-contao_csrf_token=5xTou3rPef1peRM3IIYesm3mIJ-JkJaJ7RZlAKuikOM; PHPSESSID=l7m6ocq28gukifmssgti2dsji9; sf_redirect=%7B%22token%22%3A%2215a2a4%22%2C%22route%22%3A%22_wdt%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%22n%5C%2Fa%22%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D
    Host
    	xxx.domain.de
    Pragma
    	no-cache
    Referer
    	https://xxx.domain.de/preview.php/login.html?_hash=LFbWr88Vk%2BB%2BHEi93tigewBsIhIHszjfvr2AVx3H1qg%3D&redirect=https%3A%2F%2Fxxx.domain.de%2Fpreview.php%2F
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	same-origin
    User-Agent
    	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
    X-Requested-With
    	XMLHttpRequest

  33. #33
    Alter Contao-Hase
    Registriert seit
    06.07.2009.
    Beiträge
    1.492

    Standard

    LÖSUNG:

    Für alle die von 4.4 auf 4.9 Updaten und eine angepasste .htaccess-Datei in der 4.4 verwenden.... Bitte dringend die .htaccess-Datei aus 4.9.
    https://github.com/contao/manager-bu.../web/.htaccess

    übernehmen und dann eure Anpassungen machen...

    Dank der Anpassung läuft nun auch der Debug-Modus und auch der Button für den Debug-Modus ist im Backend zu sehen!
    Geändert von Acta (08.02.2022 um 07:13 Uhr)

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
  •