0
PDOException: SQLSTATE[HY000]: General error: 1406 Data too long for column 
'delta' at row 1: 
INSERT INTO {block} 
    (module, delta, theme, status, weight, region, pages, cache) 
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); 
Array ( 
    [:db_insert_placeholder_0] => panels_mini 
    [:db_insert_placeholder_1] => mini_panel_titulo_de_adminisracion
    [:db_insert_placeholder_2] => bartik 
    [:db_insert_placeholder_3] => 0 
    [:db_insert_placeholder_4] => 0 
    [:db_insert_placeholder_5] => -1 
    [:db_insert_placeholder_6] => 
    [:db_insert_placeholder_7] => -1 ) 
in drupal_write_record() 
(line 7013 of C:\xampp\htdocs\drupal-7.14\includes\common.inc).

有人可以帮我解决这个错误.....

4

1 回答 1

1

块表中的 delta 列是varchar最大长度为 32 个字符的 a。

该查询试图插入mini_panel_titulo_de_adminisracion34 个字符长的增量值。

我不使用面板,所以我不能真正提供建议,除了说如果您可以将管理标题字段的名称更改为至少短 2 个字符的名称,错误可能会消失。

如果没有,您可以尝试在面板问题队列中提交错误报告

于 2012-07-27T21:19:57.400 回答