Drupal 7. 编辑内容类型时出现此错误。
处理异常时抛出额外的未捕获异常。
原来的
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away:
SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => ru [:source] => Configure how content input by users is filtered, including allowed HTML tags. Also allows enabling of module-provided filters. [:context] => ) in locale() (line 720 of S:\home\go\www\modules\locale\locale.module).
额外的
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away:
SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => ru [:source] => A field which is not visible to the user, but is recorded with the submission. [:context] => ) in locale() (line 720 of S:\home\go\www\modules\locale\locale.module).
会话处理程序中抛出未捕获的异常。
PDOException: SQLSTATE[HY000]: General error:
2006 MySQL server has gone away in _drupal_session_write() (line 209 of S:\home\go\www\includes\session.inc).