Unable to uninstall i18n modules

krishmuralieswar - September 13, 2007 - 03:48
Project:Internationalization
Version:5.x-2.3
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

I want to uninstall i18n modules from my drupal installation. First, I unselected all the i18n related modules. Secondly, I tried removing the i18n folder from the web folders using a ftp client. Now the modules are not visible anywhere.

But in the node I still see 'Translation' tab. Is this related?

My basic need is to show my pages in both English and in Russian. So, I am now trying to install Localizer to show my pages in both language ( similar to the page: http://www.drupal.org/project/russianinstaller )

thanks much for help,
k.m.e

#1

VM - September 13, 2007 - 03:56

after disabling the modules and before removing the folder from sites/all/modules

did you click on the uninstall tab in admin -> modules to remove the DB tables and entries ?

you may also have to empty your cache tables in the DB and insure your browser cache is emptied.

#2

krishmuralieswar - September 13, 2007 - 04:06

Ah... Nope. I didn't do that. It is an error on my part. But I have removed the i18n directory under the modules/ directory. The uninstall tab does not show i18n modules to be uninstalled. Now, how do I remove the tables?

#3

Jose Reyero - October 31, 2007 - 21:51

I dont know what you've done with the modules page, but this doesn't really make too much sense.

Try refreshing the cache -going to the modules page, disabling and enabling again any of them and clicking on *submit* after each step should do the trick.

#4

Aaron Hawkins - November 1, 2007 - 17:45

Upload the i18n module again, but don't install it. Now go to the uninstall tab on the modules page and you should be given the option to uninstall the module. Then after that if there are still traces of the module you may need to go to your phpmyadmin and delete all tables that have i18n in the name. That is a pretty thorough way of insuring a complete uninstall, but if there are still problems you may need to remove pages that were translated and remake them without the translations.

#5

dangibas - July 12, 2008 - 02:48
Version:5.x-2.1» 5.x-2.3
Priority:normal» critical

I'm using i18n-5.x-2.3 and jsut went to uninstall the module (also wish to use localizer)...

I normally uncheck the correct boxes on the modules page to stop using a module and this is what i did this time, however i18n seems to have modified and broken something in my site. Here is what I did...

uncheck the boxes on modules page and submit the form
delete the module via ftp

Whats broken now? The whole site keeps redirecting looking for ?q=en/xxx instead of ?q=xxx

I can't even get into the admin to try and reenable the module again!

"did you click on the uninstall tab in admin -> modules to remove the DB tables and entries ?" - No I also did not do this, I didnt even notice it!

How can I manually remove all traces of the module to get my site back up or manually install it again to remove it properly?

Thanks for your help!

#6

dangibas - July 12, 2008 - 03:00

I just tried running some mysql update commands to set i18n to status 1 but it takes the site down totally so it looks like enabling the module this way wont help...

#7

VM - July 13, 2008 - 01:28

in admininister -> modules is an uninstall tab that should be used, AFTER a module is disabled but BEFORE a modules folder is deleted. Using the uninstall tab allows the uninstall hook to run and remove anything that was added to the database.

If you've skipped the step above, you can simply reupload the module again, then try and use the uninstall tab. Since the module itself is disabled or should be disabled the uninstall tab should run the uninstall hook and clean up the DB.

However, if you prefer you can use the back up you created prior to trying to remove the module and then follow the steps using the uninstall tab. If you've skipped the backup for some reason then you won't be able to do this, however it's worth a mention in the case that you've been responsible about backing up before making any major changes in your environment.

#8

hass - August 11, 2009 - 19:42
Status:active» closed

Closing outdated support issue.

 
 

Drupal is a registered trademark of Dries Buytaert.