After enabling block languages 7.x-1.8 I got this notice:
DatabaseSchemaObjectExistsException: Table i18n_block_language already exists. in DatabaseSchema->createTable() (line 657 of /home/culturew/public_html/includes/database/schema.inc).
Then when I tried to enable translation on a block and saved I got this notice:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'i18n_mode' in 'field list': UPDATE {block} SET i18n_mode=:db_update_placeholder_0 WHERE (module = :db_condition_placeholder_0) AND (delta = :db_condition_placeholder_1) ; Array ( [:db_update_placeholder_0] => 1 [:db_condition_placeholder_0] => block [:db_condition_placeholder_1] => 12 ) in i18n_block_form_block_admin_configure_submit() (line 274 of /home/culturew/public_html/sites/all/modules/i18n/i18n_block/i18n_block.module).
The website encountered an unexpected error. Please try again later.
Looks like a database update didn't happen? How should I go about correcting this?
I'm using the commerce kickstart install profile. I've never used a dev or alpha i18n release on the site, only full releases.
I've only turned on i18n modules as needed. This was one of the first. I have these modules enabled:
Internationalization 7.x-1.8
Multilingual content 7.x-1.8
String translation 7.x-1.8
Synchronize translations 7.x-1.8
Thank you!
Comments
Comment #1
mlecha commentedI performed an uninstall of i18n using the Drupal admin interface. When I checked the database two tables still remained with data in them, i18n_block_language and i18n_translation_set.
I manually deleted the tables, then renabled i18n, string translation and finally block language modules.
Issue solved, other than than i18n not deleting those two tables on uninstall. I have the backups if anyone would like me to troubleshoot the uninstall.
Comment #2
jose reyero commentedFor whatever reason, that I don't know, it looks like you had the table created before installing i18n_block module.
Reopen if you get the error after checking the table is not there and then installing i18n_block.