Drupal: «Модуль схемы» установлен и новая ошибка в отчете о состоянии - PullRequest
0 голосов
/ 03 июля 2010

Я установил модуль схемы для импорта записей базы данных в мои поля drupal CCK. Теперь в отчете о статусе я получаю следующее сообщение об ошибке. Могу ли я просто проигнорировать, или я должен исправить что-то серьезное?

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)

1 Ответ

0 голосов
/ 05 июля 2010

Может

Убедитесь, что вы запустили update.php и что все изменения базы данных по модулям обновлены.

Иногда вы можете столкнуться с проблемами с промежуточным и действующим сайтом, если копируете базы данных или модули между ними и не синхронизируете изменения базы данных. Не так много, что вы можете сделать там, но исправить вручную.

Если ваш сайт полностью обновлен и нет различий между разработчиками, промежуточными версиями или живыми файлами, то вряд ли вам стоит что-то делать, кроме как сообщить о проблеме разработчику модуля.

...