2013-11-14 44 views
0

Drupal 7.編輯內容類型時出現此錯誤。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). 
+0

當連接超時或者數據庫服務器遇到內存問題時,MySQL服務器「消失」。請提供有關您的apache/mysql和您的網站配置的詳細信息,以便更好地理解正在發生的事情。進一步闡述你在編輯內容類型時實際做了些什麼可能會很有用。 – pamatt

回答

0

嘗試增加max_allowed_pa​​cket的在my.cnf(或如甲基苯丙胺,我-medium.cnf或任何大小,你正在使用)。