I had Localizer installed for future L10N project but had it turned off for a while, which seems to cause numerous problems. In short, I am unable to uninstall it right now.
It started that Localizer was giving false Drupal core version number to Update Status module. To be exact, it was reporting version 5.2 while core is actually 5.7, and I finally found out Localizer version strings is doing this.
At this point, I am unable to engage, update, or remove Localization. The cause seems to be call to block. I noticed later version of Localizer no longer contains block directory, while core is still looking for it:
Drupal 5.7
Includes: Upload, Book, Color, Block [Localizer], Node, ....
First of all, if I engage Localizer, /en/ gets appended right away, and every single page returns in 404 until I restore MySQL database from backup. If I remove Localizer module directory, page returns with fatal error on block call. This error is the same when I updated with 5x-3.3 until I copied /localizer/block/ directory from my old backup.
I am not technical enough to solve this problem, and any suggestion would be appreciated.
Comments
Comment #1
Roberto Gerola commentedTo update to version 3.3 you should exactly follow the instructions
contained in the README.txt.
Patched core files for version 1.x are available only up to Drupal 5.5 :
http://www.speedtech.it/drupal-localizer
Comment #2
madflute commentedThank you so much for your response. However, I would like to remove it without killing my site. Any help on uninstall would be appreciated. It has not been engaged under Modules, yet removing the Localizer directory will kill the site because it is calling for block().
Comment #3
Roberto Gerola commented1. Delete all localizer files
2. Run this SQL code on your db :
DROP TABLE IF EXISTS localizerblock;
DROP TABLE IF EXISTS localizertranslation;
DROP TABLE IF EXISTS localizernode;
DELETE FROM variable WHERE name LIKE 'localizer%';
DELETE FROM system WHERE name LIKE 'localizer%';
UPDATE system SET filename='modules/taxonomy/taxonomy.module' WHERE name LIKE 'taxonomy';
UPDATE system SET filename='modules/menu/menu.module' WHERE name LIKE 'menu';
Comment #4
madflute commentedThank you. I followed you instruction, and SQL returned no error. However, it still broke the site by:
Fatal error: Call to undefined function block_list() in (root)/includes/theme.inc on line 1018I did run update.php, by the way.
Comment #5
Roberto Gerola commentedOk, added also block module.
1. Delete all localizer files
2. Run this SQL code on your db :
DROP TABLE IF EXISTS localizerblock;
DROP TABLE IF EXISTS localizertranslation;
DROP TABLE IF EXISTS localizernode;
DELETE FROM variable WHERE name LIKE 'localizer%';
DELETE FROM system WHERE name LIKE 'localizer%';
UPDATE system SET filename='modules/taxonomy/taxonomy.module' WHERE name LIKE 'taxonomy';
UPDATE system SET filename='modules/menu/menu.module' WHERE name LIKE 'menu';
UPDATE system SET filename='modules/block/block.module' WHERE name LIKE 'block';
Comment #6
madflute commentedWorked! Thank you so much!
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.