安装模块出现 unexpected error 问题

总是提示The website encountered an unexpected error. Please try again later.

Drupal\Core\Database\DatabaseExceptionWrapper:Drupal\Core\Batch\BatchStorage->ensureTableExists() 中的 SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: CREATE TABLE {batch} ( `bid` INT unsigned NOT NULL COMMENT 'Primary Key: Unique batch ID.', `token` VARCHAR(64) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'A string token generated against the current user\'s session id and the batch id, used to ensure that only the user who submitted the batch can effectively access it.', `timestamp` INT NOT NULL COMMENT 'A Unix timestamp indicating when this batch was submitted for processing. Stale batches are purged at cron time.', `batch` LONGBLOB NULL DEFAULT NULL COMMENT 'A serialized array containing the processing data for the batch.', PRIMARY KEY (`bid`), INDEX `token` (`token`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Stores details about batches (processes that run in…'; Array ( ) (/home/wwwroot/www.roseb2b.local/core/lib/Drupal/Core/Batch/BatchStorage.php 的第 170 行)。

-- Drupal社区团队 编辑 2017-03-05 09:54 --

评论