After a mistake in "Switch by hostname" I see

Fatal error: Call to undefined function localizernode_get_contentlocale() in /../modules/localizer/localizer.module on line 829

The site has died ...

Comments

mandar78’s picture

To recover your site go to system table and remove all localizer module records.
Use internationalization module

Roberto Gerola’s picture

I see, there is a problem in the modules loading order.
I'll fix this, thanks.

Were you able to restore your site or do you need help ?

pvasili’s picture

Status: Active » Fixed

2 Roberto Gerola: Thanks, I'm OK (the backup :) ). I only try to make to all the help the module better and more reliably. Success :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

lordlex’s picture

Hello...
I just had this problem... i selected "Switch by hostname"... and site has died...
I had no backup of the database... so i added "function localizernode_get_contentlocale() {}" to my settings file located in "sites/default", then deselect that "Switch by hostname" and done... site is back live :P
Delete the line added to the settings file after.
Hope this will help other easy recover their websites...