Ergebnis 1 bis 1 von 1

Thema: Contao Update und Migration 3.5 auf 4.x

  1. #1
    Contao-Fan
    Registriert seit
    03.09.2009.
    Beiträge
    313

    Standard Contao Update und Migration 3.5 auf 4.x

    Hallo
    Ich möchte ein Contao Update inkl. Migration 3.5 auf 4.x gemäss Anleitung Contao Handbuch:
    https://docs.contao.org/manual/de/migration/

    Bei der DB Migration habe ich folgendes Problem:

    Code:
    Argument 1 passed to Doctrine\DBAL\Types\TypeRegistry::get() must be of the type string, null given, called in /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Types/Type.php on line 138
    Unter «Einrichten» habe ich die Fehlermeldung obwohl die Verbindung erfolgreich war:
    Code:
    Fehler beim verbinden mit der Datenbank.
    Mit der Eingabe der vorherigen DB-Parametern und «Speichrn» die gleiche Fehlermeldung.

    In der env.local steht:
    Code:
    APP_SECRET=xxxxxxx
    DATABASE_URL=mysql://dbUserxxx:Paswxxx@localhost:3306/dbNamexxx


    Im abgesicherten Modus habe ich unter «Systemlog» weitere Fehlermeldungen:

    Code:
    Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://www.xxx.xxx/contao-manager/users.json" (from "https://www.xxx.xxx/contao-manager.phar.php/")" at /home/qogojeqe/public_html/2philo24/vendor/symfony/http-kernel/EventListener/RouterListener.php line 135
    Kontext ausblenden
    {
    "exception": 
    "[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET https://www.xxx.xxx/contao-manager/users.json" (from "https://www.xxx.xxx/contao-manager.phar.php/") at /home/qogojeqe/public_html/2philo24/vendor/symfony/http-kernel/EventListener/RouterListener.php:135) [previous exception] [object] (Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request GET /contao-manager/users.json HTTP/1.1 Accept: application/json Accept-Encoding: gzip, deflate, br Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: _fbp=fb.1.1701691471514.1495482743; csrf_https-contao_csrf_token=Wmw17IhQ3rRrnAB0M0S4XCKNESUpc0bvAWjAYReHZfM; PHPSESSID=c780a45da1d440e99b48ab015ed1b728 Forwarded: for="2001:1711:fa4d:abe0:2968:74d9:519e:d000";host="www.xxx.xxx";proto=https Host: www.xxx.xxx Referer: https://www.xxx.xxx/contao-manager.phar.php/ Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "macOS" Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-origin Surrogate-Capability: symfony="ESI/1.0" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 X-Forwarded-For: 2001:1711:fa4d:abe0:2968:74d9:519e:d000 X-Php-Ob-Level: 1 X-Requested-With: XMLHttpRequest Cookie: csrf_https-contao_csrf_token=Wmw17IhQ3rRrnAB0M0S4XCKNESUpc0bvAWjAYReHZfM; PHPSESSID=c780a45da1d440e99b48ab015ed1b728 at /home/qogojeqe/public_html/2philo24/vendor/symfony-cmf/routing/src/ChainRouter.php:210)"
    }
    Code:
    Uncaught Exception: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist
    Kontext ausblenden
    {
    "exception": 
    "[object] (Doctrine\DBAL\Exception\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49) [previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28) [previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"
    }
    Code:
    Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist" at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 49
    Kontext ausblenden
    {
    "exception": 
    "[object] (Doctrine\DBAL\Exception\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49) [previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28) [previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"
    }
    Code:
    Warning: Cannot modify header information - headers already sent by (output started at /home/qogojeqe/public_html/2philo24/vendor/symfony/http-foundation/Response.php:399)
    Kontext ausblenden
    {
    "exception": 
    "[object] (ErrorException(code: 0): Warning: Cannot modify header information - headers already sent by (output started at /home/qogojeqe/public_html/2philo24/vendor/symfony/http-foundation/Response.php:399) at /home/qogojeqe/public_html/2philo24/vendor/contao/core-bundle/src/HttpKernel/Header/NativeHeaderStorage.php:27)"
    }
    Code:
    Uncaught Exception: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist
    Kontext ausblenden
    {
    "exception": 
    "[object] (Doctrine\DBAL\Exception\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49) [previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28) [previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qogojeqe_philo24.tl_search' doesn't exist at /home/qogojeqe/public_html/2philo24/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"
    }
    Geändert von thomasr (13.12.2023 um 15:48 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
  •