2010-07-03 110 views
0

我已经安装了模式模块来将数据库条目导入到我的drupal CCK字段中。现在在statuus报告中,我收到以下错误消息。我可以忽略,还是我应该修正的严重问题?Drupal:安装了“模式模块”并在状态报告中出现新错误

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

也许

确保您已经运行update.php,并通过模块的所有数据库的变化是最新的。

如果您在数据库或模块之间复制数据库或模块,并且无法保持数据库更改同步,则有时可能会遇到暂存和活动站点的问题。你可以在那里做的不多,但手动纠正。

如果您的网站已完全更新并且没有开发/登台/实时差异,那么除了向模块开发人员报告问题之外,您不应该做任何其他事情。