Upgrade database

Главные вкладки

Аватар пользователя Trezvy Trezvy 18 января 2012 в 14:03

При обновлении двух модулей, View и Internationalization i18n-7.x-1.1.zip -> i18n-7.x-1.3.zip затребовалось обновление БД (MySQL):

База данных
Требуется обновление
Для работы включенных модулей требуется обновление базы данных. Вам следует немедленно запустить скрипт обновления.

И вот с ней при запуске скрипта обновления выдалась такая ошибка:

The following updates returned messages
i18n_taxonomy module
Update #7002
•Failed: FieldUpdateForbiddenException: field_sql_storage cannot change the schema for an existing field with data. в функции field_sql_storage_field_update_forbid() (строка 229 в файле /var/virtual/www/ao-star.ru/httpdocs/modules/field/modules/field_sql_storage/field_sql_storage.module).

Как исправить?

Спасибо.

Комментарии

Аватар пользователя DenisVS DenisVS 4 февраля 2012 в 13:53

Подобная проблема.

Ожидается 3 обновления
image module

    7002 - Add width and height columns to image field schema and populate.
    7003 - Remove the variables that set alt and title length since they were not used for database column size and could cause PDO exceptions.
    7004 - Use a large setting (512 and 1024 characters) for the length of the image alt and title fields.

Ну а далее вываливаются ошибки, то поле есть, то оно уже модифицировано.
И так гоняет по кругу. Кэш чистил. Видимых нарушений в работе нет.

Drush тоже доставляет:

Невозможно добавить поле %able.<em class="placeholder">field_image_width</em>: поле уже                [error]
существует.
Finished performing updates.                                                                                                        [ok]
The following updates are pending