Hello, friendly Drupalites! This week's problem:
I have a handful of Drupal 5 sites merrily dishing up multilingual content with the Localizer module. Today, setting up yet another D5 site, I went to turn on the various modules that fall under Localizer... and was hit with this error:
Fatal error: Call to undefined function: localizer_available_uilocales() in /sites/all/modules/localizer/modules/localizermenu.module on line 101
Hmm, I did forget to first enable "Locale"; that could be the cause. I'll just enable it now, I thought...
Alas, I couldn't see the Modules admin page anymore, or any page; only that error message!
No problem. FTP into web directory, and a) remove, or b) change name of, Localizer module to "trick" site into slipping by the problem.
And that works for a moment: I am able to get back to the Modules settings – but when I try to enable Locale, or disable all Localization modules on the Modules settings, I get back to some variation on the above error. Set the Localizer module back to what it should be, via FTP, and again I can get to the Modules page – but I see that the previous attempts to enable/disable modules haven't "taken", and a new attempt again puts me back into fatal error mode. Rinse and repeat.