Tuesday, January 22, 2013

i18n and variable error on updating

when you update drupal, if you get these errors
Variable store (7.x-2.x) (incompatible with version 7.x-1.2)
Variable realm (7.x-2.x) (incompatible with version 7.x-1.2)

try to remove 2 directory i18n and variable in /site/default/modules/
then upload 2  older version of i18n and variable first (i18n ver 7.x.1.5 and variable ver 7.x.1.2
run update.php

if it run successfully, upload your new i18n and variable modules (i18n ver 7.1.8 and variable ver 7.x.2.1 for example) to site/default/modules then run update again. it should be done!