我已经安装了模块模块来将数据库条目导入到我的drupal CCK字段中。现在在statuus报告中我收到以下错误消息。我可以忽略,或者是我应该解决的问题吗?
Database schema
Inconsistent The
Schema comparison report shows:
42 modules with matching tables
41 extra tables
2 warnings
3 module with mis-matching tables
更确切地说:
Mismatch (4)
Tables for which the schema and database are different.
user
users
timezone_name: unexpected column in database
image_fupload
fupload_previewlist
column uid - difference on: length
declared: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'length' => '10', 'not null' => TRUE, 'default' => 0)
actual: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => TRUE, 'default' => 0)
column nid - difference on: length
declared: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'length' => '10', 'not null' => TRUE, 'default' => 0)
actual: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => TRUE, 'default' => 0)
column fid - differences on: not null, length
declared: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'length' => '11', 'not null' => FALSE, 'default' => 0)
actual: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => TRUE, 'default' => 0)
column created - difference on: length
declared: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'length' => '11', 'not null' => TRUE, 'default' => 0)
actual: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => TRUE, 'default' => 0)
答案 0 :(得分:0)
也许
确保您运行update.php并且模块的所有数据库更改都是最新的。
如果在它们之间复制数据库或模块并且无法使数据库更改保持同步,则有时会遇到暂存和实时站点的问题。你可以做的不多,但手动纠正。
如果您的网站已完全更新且没有开发/暂存/实时差异,那么除了向模块开发人员报告问题之外,您不可能做任何事情。