Blocks disappear

jessicakoh - November 4, 2009 - 04:08
Project:Internationalization
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

After I enabled this i18n module, all blocks disappear on all pages.

I have switched to default theme, Garland, same issue.

After I disabled this i18i module, my blocks came back.

Any idea what's going on?

#1

brucepearson - November 4, 2009 - 04:18

Check the multilingual section for each block to see what language the block will be shown in.

#2

jessicakoh - November 4, 2009 - 04:22

"All Languages".

In fact, I have tried "All languages (Translatable)" and "English", but when I clicked save, the changes are not saved. Other fields are save-able.

#3

Jose Reyero - November 5, 2009 - 17:50

That "changes not saved" looks like you may have some upgrade issue. Is everything up to date? (update.php) No errors in the logs? (Reports, log entries)

#4

jessicakoh - November 6, 2009 - 02:49

I am running Drupal 6.14.

There are no upgrade issues. (Upgraded from Drupal 5.20 to Drupal 6.14)

Unknown column 'i18n.language' in 'where clause' query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta LEFT JOIN i18n_blocks i18n ON (b.module = i18n.module AND b.delta = i18n.delta) WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ( b.theme = 'framework' AND b.status = 1 AND (r.rid IN (2) OR r.rid IS NULL) )ORDER BY b.region, b.weight, b.module in /Users/jack/Sites/blue/modules/block/block.module on line 407.

After I disabled "Block translation" and "Menu translation", blocks reappeared.

Here is the error message from log.

I need block translation and menu translation modules.

#5

jessicakoh - November 7, 2009 - 00:38

I have added the missing column, language in i18i_block. Alas, that did not solve the problem.

#6

jessicakoh - November 8, 2009 - 11:37
Status:active» fixed

Yipee ... I got this issue resolved.

Here's how:

1. Disable all components under "Multilanguage" (i18n)
2. Uninstall
3. Remove all tables with prefix i18n (with phpmyadmin)
4. Reinstall the i18n
6. update.php

p.s: remember to backup your database.

Thank you, Jose and others for this module. Keep up the good work.

#7

System Message - November 22, 2009 - 11:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.