AH01071: Got error 'PHP message: 1153 Got a packet bigger than 'max_allowed_packet' bytes in Drupal

Problem:

AH01071: Got error 'PHP message: Failed to log error: Drupal\\Core\\Database\\DatabaseExceptionWrapper: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes in Drupal\\dblog\\Logger\\DbLog->log() (line 78 of web/core/modules/dblog/src/Logger/DbLog.php). 

Solution (in /etc/my.cnf || /etc/mysql/mariadb.conf.d/50-server.cnf ):

[mysqld]
max_allowed_packet = 1G

User warning: mkdir(): Permission Denied in FileStorage->createDirectory() (Line 123 in web/core/lib/Drupal/Component/PhpStorage/FileStorage.php).

Problem:

User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (Line 123 in web/core/lib/Drupal/Component/PhpStorage/FileStorage.php).

Solution?

Suche

Neueste Kommentare

  • 3 days ago
    Bootstrap 5 subtheme is not properly configured. This may be caused by a problem with file or directory permissions.
  • 1 week 5 days ago
    Site URI : http://default (Drupal, how2 update config?)

    Add this line to drupalroot/vendor/drush/drush/drush.yml

    
    options:
         uri: 'https://www.example.com/'
    

     

    drush.yml looks like:

  • 1 month 2 weeks ago
    Webserver CPU Performance Test mit PHP

    Time: 0,19 

    CPU: AMD Ryzen 7 PRO 3700 8-Core Processor

  • 3 months ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Line 63, 99 :

     -    $this->operator = $break->operator;
     +    if($break->operator){
     +        $this->operator = $break->operator;
     +    }

     

  • 4 months ago
    Drupal + Basic_Auth Problem : You do not have permission to access this page (Sie haben keine Zugriffsberechtigung für diese Seite. )

    My problem was:

  • 4 months ago
    Drupal Upgrade (Drupal 9 » Drupal 10)

    I had this exact issue and your site was the only place I found the fix.

    It'd be nice if the module developer applied your fix though.

    Good work! Much appreciated!

  • 5 months ago
    The datasource with ID 'elstut--entity:node' could not be retrieved for index (Drupal, Solr)

    Hier ist die Lösung. (/admin/config/search/search-api/server/solr_server/edit)

    Multisite-Kompatibilität
     + Nur Ergebnisse von dieser Seite beziehen
     

  • 5 months 1 week ago
    PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

     

    Ich bekomme diese Fehlermeldung:

  • 6 months ago
    Install APCu (PHP 8.1, Plesk)

    PHP 8.2

    apt update
    apt install plesk-php81-dev zlib1g-dev
    /opt/plesk/php/8.2/bin/pecl install apcu
    echo "extension=apcu.so" > /opt/plesk/php/8.2/etc/php.d/apcu.ini
    

     

  • 6 months 3 weeks ago
    BadRequestHttpException: The theme must be passed as a query argument in Drupal \ system \ Controller \ AssetControllerBase->deliver()

    Anfragen werden für veraltete CSS-/JS-URLs empfangen (Cache). Die Lösung wäre JavaScript und CSS-Aggregation erneut aktivieren.