我面臨與本文相同的問題。 drupal views module mysql error處理異常時拋出的額外的未捕獲異常
我在/opt/lampp/etc/my.cnf的max_allowed_packet增加從1M到60M,但問題仍然出來,當我嘗試在結構中添加的一切。這是屏幕代碼。
處理異常時引發的附加未捕獲異常。
原始
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {uc_product_classes}; Array () in uc_product_class_load() (line 1704 of /opt/lampp/htdocs/advanced-a/sites/all/modules/uc_product/uc_product.module).
附加
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT ff.* FROM {filter_format} ff WHERE (status = :db_condition_placeholder_0) ORDER BY weight ASC; Array ([:db_condition_placeholder_0] => 1) in filter_formats() (line 407 of /opt/lampp/htdocs/advanced-a/modules/filter/filter.module).
未捕獲異常的會話處理程序拋出。
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in _drupal_session_write() (line 206 of /opt/lampp/htdocs/advanced-a/includes/session.inc).
任何幫助將不勝感激。