Ergebnis 1 bis 11 von 11

Thema: CONTAO 4.13.35 - con4gis-Reservation DB Problem

  1. #1
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard CONTAO 4.13.35 - con4gis-Reservation DB Problem

    Hallo,


    nachdem CONTAO ein Update von 4.9 auf 4.13.35 erhalten hat, können im CONTAO Manager 2 DB Anweisungen nicht ausgeführt werden:

    Es betrifft die Erweiterung: con4gis-Reservation, Version 2.5.4

    Code:
    Feld tl_c4g_reservation_object_prices.price ändern
    
    DOUBLE PRECISION DEFAULT '0.00' NOT NULL
    Feld tl_c4g_reservation_params.price ändern
    
    DOUBLE PRECISION UNSIGNED DEFAULT '0.00' NOT NULL

    Genau hier bleibe ich in einer Schleife stecken (siehe Anlage) und die Website ist NICJHT mehr funktionsfähig:
    https://www.dc-zuarin.de/


    PHP: 8.1, FPM Anwendung mit Apache




    Was habe ich übersehen?


    Vielen Dank für Hinweise
    Angehängte Grafiken Angehängte Grafiken

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

    Standard

    Das eine hat wahrscheinlich mit dem anderen gar nichts zu tun. Nutze den Debug-Modus und poste den Stack Trace des Fehlers im Frontend.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard

    Habe den Debug- Mode aktiviert, aber es erfolgt keinerlei Ausgabe im Frontend:
    https://www.dc-zuarin.de/start.html


    Hier der Auszug aus der LOG- Datei:

    Code:
    [2023-12-04T14:33:16.747249+00:00] php.CRITICAL: Uncaught Error: Class "Patchwork\Utf8" not found {"exception":"[object] (Error(code: 0): Class \"Patchwork\\Utf8\" not found at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    [2023-12-04T14:33:17.003818+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?" at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5 line 11 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Utf8\" from namespace \"Patchwork\".\nDid you forget a \"use\" statement for another namespace? at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    [2023-12-04T14:34:20.759813+00:00] php.WARNING: Warning: Undefined global variable $CON4GIS {"exception":"[object] (ErrorException(code: 0): Warning: Undefined global variable $CON4GIS at /var/www/vhosts/dc-zuarin.de/httpdocs/website/var/cache/prod/contao/config/config.php:341)"} []
    [2023-12-04T14:34:20.774590+00:00] request.INFO: Matched route "tl_page.2". {"route":"tl_page.2","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.2","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.dc-zuarin.de/start.html","method":"GET"} []
    [2023-12-04T15:34:20.786025+01:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-12-04T14:34:20.967272+00:00] php.CRITICAL: Uncaught Error: Class "Patchwork\Utf8" not found {"exception":"[object] (Error(code: 0): Class \"Patchwork\\Utf8\" not found at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    [2023-12-04T14:34:21.190222+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?" at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5 line 11 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Utf8\" from namespace \"Patchwork\".\nDid you forget a \"use\" statement for another namespace? at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    [2023-12-04T14:41:41.573875+00:00] php.WARNING: Warning: Undefined global variable $CON4GIS {"exception":"[object] (ErrorException(code: 0): Warning: Undefined global variable $CON4GIS at /var/www/vhosts/dc-zuarin.de/httpdocs/website/var/cache/prod/contao/config/config.php:341)"} []
    [2023-12-04T14:41:41.582915+00:00] request.INFO: Matched route "tl_page.2". {"route":"tl_page.2","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.2","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.dc-zuarin.de/start.html","method":"GET"} []
    [2023-12-04T15:41:41.590184+01:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2023-12-04T14:41:41.770919+00:00] php.CRITICAL: Uncaught Error: Class "Patchwork\Utf8" not found {"exception":"[object] (Error(code: 0): Class \"Patchwork\\Utf8\" not found at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    [2023-12-04T14:41:42.036338+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?" at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5 line 11 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Utf8\" from namespace \"Patchwork\".\nDid you forget a \"use\" statement for another namespace? at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []

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

    Standard

    Zitat Zitat von mv-soft Beitrag anzeigen
    Habe den Debug- Mode aktiviert, aber es erfolgt keinerlei Ausgabe im Frontend:
    Was genau meinst du damit? Aktiviere den Debug-Modus über das Contao Backend, danach rufe das Frontend wieder auf. Poste ggf. einen Screenshot davon.

    - - - Aktualisiert - - -

    Zitat Zitat von mv-soft Beitrag anzeigen
    Code:
    [2023-12-04T14:41:42.036338+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?" at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5 line 11 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Utf8\" from namespace \"Patchwork\".\nDid you forget a \"use\" statement for another namespace? at /var/www/vhosts/dc-zuarin.de/httpdocs/website/templates/template-zuarin/cal_mini.html5:11)"} []
    Du hast ein angepasstes cal_mini Template, welches du aktualisieren musst.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard

    Ah... jetzt habe ich verstanden, hier der Stack Trace und ein Screenshot

    Code:
    ErrorException:
    Warning: Undefined global variable $CON4GIS
    
      at vendor/con4gis/core/Resources/contao/config/config.php:77
      at include('/var/www/vhosts/dc-zuarin.de/httpdocs/website/vendor/con4gis/core/Resources/contao/config/config.php')
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198)
      at Contao\Config->initialize()
         (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163)
      at Contao\Config::getInstance()
         (vendor/contao/core-bundle/src/Framework/Adapter.php:46)
      at Contao\CoreBundle\Framework\Adapter->__call()
         (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:298)
      at Contao\CoreBundle\Framework\ContaoFramework->initializeFramework()
         (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:122)
      at Contao\CoreBundle\Framework\ContaoFramework->initialize()
         (vendor/contao/core-bundle/src/HttpKernel/ModelArgumentResolver.php:43)
      at Contao\CoreBundle\HttpKernel\ModelArgumentResolver->supports()
         (vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php:43)
      at Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver->supports()
         (vendor/symfony/http-kernel/Controller/ArgumentResolver.php:51)
      at Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments()
         (vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php:39)
      at Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver->getArguments()
         (vendor/symfony/http-kernel/HttpKernel.php:155)
      at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
         (vendor/symfony/http-kernel/HttpKernel.php:75)
      at Symfony\Component\HttpKernel\HttpKernel->handle()
         (vendor/symfony/http-kernel/Kernel.php:202)
      at Symfony\Component\HttpKernel\Kernel->handle()
         (web/index.php:44)
    Angehängte Grafiken Angehängte Grafiken

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

    Standard

    Das ist jetzt ein anderer Fehler. Welche Version von con4gis/core ist bei dir installiert? Die neueste ist 7.0.3.
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard

    Diese Version von Con4gis wurde im CONTAO Manager als neustes Update angezeigt und installiert:
    Version 2.5.4

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

    Standard

    con4gis besteht aus vielen Paketen. Welches Paket meinst du hier?
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard

    Ich habe im CONTAO Manager nur 1 Eintrag bei den Paketen gehabt und diesen aktualisiert, siehe Anlage
    Angehängte Grafiken Angehängte Grafiken

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

    Standard

    Die neueste Version von con4gis/reservation ist 3.6.19. Version 2.5.4 ist 2 Jahre alt.
    » sponsor me via GitHub or PayPal or Revolut

  11. #11
    Contao-Fan
    Registriert seit
    11.11.2011.
    Ort
    Schwerin
    Beiträge
    622

    Standard LÖSUNG

    Das Update habe ich vorgenommen und das angepasste Template vom Mini- Kalender aktualisiert.... läuft.


    Vielen Dank für diese schnelle Hilfe.

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
  •