Fork me on GitHub

empty $lang after upgrade from 1.1.2 to 1.2.2  Bottom

  • After upgrading from 1.1.2 to 1.2.2 I get the following error message:

    Code

    Error! Could not load 'locale//locale.ini'. Please check that it exists.

    It seems the member variable $languageCode from the ZLanguage class is never set to anything meaningful. Where must I look?

    P.S. This site has gone through many upgrades. Think it was originally in .7.6.2.
  • Manually setting the module variables language_i18n to s:2:"en"; and language_bc to 1 solved the problem. Don't know why it was not set like that during the upgrade though. Should it?
  • I restored and repeated the whole process. Second time everything went well. It seems the language became empty because of a warning in the install script that caused the lang variable to be empty in the URL.

This list is based on users active over the last 60 minutes.