View Single Post
  #1   IP: 153.99.36.220
Old 2015-04-26, 09:07 PM
Kelly Lake Kelly Lake is offline
初级会员
 
Join Date: 2011-05-07
Posts: 1
Kelly Lake 现在声名狼藉
Default 安装Drupal 7.36 View: PDOException: in _registry_parse_files() (line 149 of G:\wamp\www

在启用Views content panes, 出错, 提示:PDOException: in _registry_parse_files() (line 149 of G:\wamp\www\drupal736\includes\registry.inc).

This problem - “MySQL server has gone away”- can happen if the query you send to the MySQL server is too large. Indeed,for me the problem went away when I raised MySQL’s max_allowed_packet settingfrom 1M (default)to 16M in my my.cnf:[mysqld]...max_allowed_packet=16MPosted by E. Root 2011-07-13 drupal **********************************************可能原因: 导入导出数据时数据太大 mysql无法处理,数据库连接崩溃 修改mysql配置文件my.ini 中 [mysqld] 节中增加或者修改 max_allowed_packet搜索=16M 即可
Reply With Quote