<legend id='HiC4E'><style id='HiC4E'><dir id='HiC4E'><q id='HiC4E'></q></dir></style></legend>
<i id='HiC4E'><tr id='HiC4E'><dt id='HiC4E'><q id='HiC4E'><span id='HiC4E'><b id='HiC4E'><form id='HiC4E'><ins id='HiC4E'></ins><ul id='HiC4E'></ul><sub id='HiC4E'></sub></form><legend id='HiC4E'></legend><bdo id='HiC4E'><pre id='HiC4E'><center id='HiC4E'></center></pre></bdo></b><th id='HiC4E'></th></span></q></dt></tr></i><div id='HiC4E'><tfoot id='HiC4E'></tfoot><dl id='HiC4E'><fieldset id='HiC4E'></fieldset></dl></div>
  • <tfoot id='HiC4E'></tfoot>
  • <small id='HiC4E'></small><noframes id='HiC4E'>

    • <bdo id='HiC4E'></bdo><ul id='HiC4E'></ul>

        drupal 视图模块 mysql 错误

        时间:2024-04-15
          <tfoot id='p9ndi'></tfoot>
            <tbody id='p9ndi'></tbody>

            <i id='p9ndi'><tr id='p9ndi'><dt id='p9ndi'><q id='p9ndi'><span id='p9ndi'><b id='p9ndi'><form id='p9ndi'><ins id='p9ndi'></ins><ul id='p9ndi'></ul><sub id='p9ndi'></sub></form><legend id='p9ndi'></legend><bdo id='p9ndi'><pre id='p9ndi'><center id='p9ndi'></center></pre></bdo></b><th id='p9ndi'></th></span></q></dt></tr></i><div id='p9ndi'><tfoot id='p9ndi'></tfoot><dl id='p9ndi'><fieldset id='p9ndi'></fieldset></dl></div>

                <small id='p9ndi'></small><noframes id='p9ndi'>

                <legend id='p9ndi'><style id='p9ndi'><dir id='p9ndi'><q id='p9ndi'></q></dir></style></legend>
                  <bdo id='p9ndi'></bdo><ul id='p9ndi'></ul>

                  本文介绍了drupal 视图模块 mysql 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已启用视图模块并在我转到结构>drupal 7 中的视图时得到这个

                  i have enabled the view module and get this when i go to structure>views in drupal 7

                  处理异常时抛出的其他未捕获异常.原创

                  Additional uncaught exception thrown while handling exception. Original

                  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has away: DELETE FROM {cache_form} WHERE (cid = :db_condition_placeholder_0) ;cache_clear_all() 中的数组( [:db_condition_placeholder_0] => form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o )(/home/tennis/public_html/includes/cache.inc 的第 170 行).附加

                  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {cache_form} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o ) in cache_clear_all() (line 170 of /home/tennis/public_html/includes/cache.inc). Additional

                  PDOException:SQLSTATE[HY000]:一般错误:2006 MySQL 服务器已经消失:INSERT INTO {watchdog}(uid、类型、消息、变量、严重性、链接、位置、引用、主机名、时间戳)值(:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :d_insert_placeholder_98);数组 ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file).[:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:240:"SQLSTATE[HY000]: 一般错误:2006 MySQL 服务器已消失:DELETE FROM {cache_form} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o :"%function":;s:17:"cache_clear_all()";s:5:"%file";s:43:"/home/tennis/public_html/includes/cache.inc";s:5:"%行";i:170;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://192.168.1.66/~tennis/admin/structure/views [:db_insert_placeholder_7] =>http://192.168.1.66/~tennis/user/1 [:db_insert_placeholder_8] =>192.168.1.172 [:db_insert_placeholder_9] =>1309366098 ) 在 dblog_watchdog() 中(/home/tennis/public_html/modules/dblog/dblog.module 的第 155 行).

                  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:240:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {cache_form} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] =&gt; form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o ) ";s:9:"%function";s:17:"cache_clear_all()";s:5:"%file";s:43:"/home/tennis/public_html/includes/cache.inc";s:5:"%line";i:170;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://192.168.1.66/~tennis/admin/structure/views [:db_insert_placeholder_7] => http://192.168.1.66/~tennis/user/1 [:db_insert_placeholder_8] => 192.168.1.172 [:db_insert_placeholder_9] => 1309366098 ) in dblog_watchdog() (line 155 of /home/tennis/public_html/modules/dblog/dblog.module).

                  我的问题是什么?

                  推荐答案

                  以下是有关该错误的一些信息:http://dev.mysql.com/doc/refman/5.1/en/gone-away.html 和 Drupal.org 上的类似问题:http://drupal.org/node/984112

                  Here is some information on that error: http://dev.mysql.com/doc/refman/5.1/en/gone-away.html and a similar issue on Drupal.org: http://drupal.org/node/984112

                  关于此错误的另一篇有用的帖子:http://madhavvyas.blogspot.com/

                  Another helpful post regarding this error: http://madhavvyas.blogspot.com/

                  问题似乎出在 MySQL 配置中的 max_allowed_packet.

                  It seems that the problem lies with max_allowed_packet in the configuration for MySQL.

                  从 Drupal 问题中,另一个用户提供了一些可能对您有帮助的步骤(该用户使用的是 XAMPP,但步骤类似):

                  From the Drupal issue, another user provides some steps that may assist you (this user is using XAMPP but steps are similar):

                  如何解决这个问题

                  • 转到 xamppmysqlin
                  • 打开 my.ini
                  • 将max_allowed_packet"从1m"更改为16m"(或更大)
                  • 保存 my.ini 现在通过 XAMPP 控制面板重新启动 MySql.

                  这篇关于drupal 视图模块 mysql 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:MySQL 服务器在 Drupal 7 中消失了 下一篇:Docker:链接到 mysql 容器的 Drupal 容器在 Drupal 安装期间无法连接到 mysql

                  相关文章

                • <legend id='DYKGU'><style id='DYKGU'><dir id='DYKGU'><q id='DYKGU'></q></dir></style></legend>

                  <small id='DYKGU'></small><noframes id='DYKGU'>

                • <i id='DYKGU'><tr id='DYKGU'><dt id='DYKGU'><q id='DYKGU'><span id='DYKGU'><b id='DYKGU'><form id='DYKGU'><ins id='DYKGU'></ins><ul id='DYKGU'></ul><sub id='DYKGU'></sub></form><legend id='DYKGU'></legend><bdo id='DYKGU'><pre id='DYKGU'><center id='DYKGU'></center></pre></bdo></b><th id='DYKGU'></th></span></q></dt></tr></i><div id='DYKGU'><tfoot id='DYKGU'></tfoot><dl id='DYKGU'><fieldset id='DYKGU'></fieldset></dl></div>
                • <tfoot id='DYKGU'></tfoot>
                  • <bdo id='DYKGU'></bdo><ul id='DYKGU'></ul>