drupal-error

Drupal官网升级到Drupal7后部分页面出现错误

在11月1日,Drupal官网将网站内核由Drupal6升级到Drupal7,升级后得网站外观并没有多大的变化,因为模板并没变。

在访问 https://drupal.org/project/project_theme 页面时会出现错误

drupal-error

Additional uncaught exception thrown while handling exception.

Original

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.tid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 19370 ) in DrupalDefaultEntityController->load() (line 191 of /var/www/drupal.org/htdocs/includes/entity.inc).

Additional

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] => 0 [: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:443:”SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.tid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 19370 ) “;s:9:”%function”;s:37:”DrupalDefaultEntityController->load()”;s:5:”%file”;s:46:”/var/www/drupal.org/htdocs/includes/entity.inc”;s:5:”%line”;i:191;s:14:”severity_level”;i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => https://drupal.org/project/project_theme [:db_insert_placeholder_7] => https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CDgQjBAwAQ&url=https%3A%2F%2Fdrupal.org%2Fproject%2Fthemes&ei=FAZ4UptS8OXIAdn_gNgF&usg=AFQjCNH5TtOjkTnU9MuyeYQIAU5egA3VuA&sig2=W843SrP69npyr8PhS6yq3Q [:db_insert_placeholder_8] => 206.47.188.26 [:db_insert_placeholder_9] => 1383660482 ) in dblog_watchdog() (line 160 of /var/www/drupal.org/htdocs/modules/dblog/dblog.module).

这个错误信息还挺详细的。

《Drupal官网升级到Drupal7后部分页面出现错误》有2个想法

发表评论