Ergebnis 1 bis 3 von 3

Thema: Contao Manager kann Cache nicht erneuern

  1. #1
    Contao-Nutzer
    Registriert seit
    30.07.2015.
    Beiträge
    140

    Standard Contao Manager kann Cache nicht erneuern

    Hallo zusammen,

    seit dem Update auf den Manager 1.5.1 lässt sich der Cache nicht mehr erneuern. Folgende Fehlermeldung erhalte ich:

    HTML-Code:
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/.../contao/vendor/contao/manager-bundle/bin/contao-console cache:clear --env=prod --no-warmup
    
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/.../contao/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    17:24:16 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod". Message: "Class 'Doctrine\DBAL\Platforms\MySqlPlatform' not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod","message" => "Class 'Doctrine\DBAL\Platforms\MySqlPlatform' not found"]
    
    In tl_form_field.php line 331:
                                                                                   
      Attempted to load class "MySqlPlatform" from namespace "Doctrine\DBAL\Platf  
      orms".                                                                       
      Did you forget a "use" statement for another namespace?                      
                                                                                   
    
    cache:warmup [--no-optional-warmers]
    
    
    # Process terminated with exit code 255
    # Result: Unknown error
    Ich habe eigentlich keine Eingriffe bei Contao vorgenommen.

  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

    Lösche mal den vendor/ Ordner und führe im abgesicherten Modus ein Composer Update aus.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    30.07.2015.
    Beiträge
    140

    Standard

    das lief durch. Aber ich bekomme weiterhin:

    HTML-Code:
    In tl_form_field.php line 331:
                                                                                   
      Attempted to load class "MySqlPlatform" from namespace "Doctrine\DBAL\Platf  
      orms".                                                                       
      Did you forget a "use" statement for another namespace?

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
  •