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).
有人可以帮我解决这个错误......
答案 0 :(得分:1)
块表中的delta列是varchar
,最大长度为32个字符。
该查询正在尝试插入长度为34个字符的增量值mini_panel_titulo_de_adminisracion
。
我不使用面板,所以我不能真正建议,除非你说如果你可以将管理标题字段的名称更改为至少2个字符,那么错误可能会消失。
如果没有,您可以尝试在panels issue queue
上提交错误报告