Fork me on GitHub

Minor upgrade issue, need help  Bottom

  • I have a rather old site that was running postnuke back in the day. I did upgrade it to Zikula. I used a 1.1.1 -dev I know I should not use a dev in production but I did. It is time to try and get it current with 1.2.5

    I crated a copy of the database and copied all the files into a test folder. I upgraded the site to 1.2.5 and it worked. WIN WIN This was before 1.2.5 was out.

    I have one small error I am trying to track down before I do this upgrade again and make it live.

    Here is the error:
    Error! Could not load 'locale//locale.ini'. Please check that it exists.
    Error! The requested language is not available.

    Joe.............

    General Information
    Zikula version: Zikula 1.2.4 (forest)
    Server information: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at jctra.org Port 80
    PHP version: 5.2.6
    Database version: MySQL 5.0.91-community
  • I appears the site is referering to a language, that should be between locale/ and /locale.ini. If you look in locale/ you should see at least a directory en/ there for english. If you are using another language somewhere this should also be there.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • English would be the only language I need. locale/en/locali.ini exists.
    That was the first thing I checked. The error told me exactly what to look for. What has me stumped is it does exist yet I keep getting the error.
    Joe..............
  • I think Zikula prior to 1.2.x used 3-letter codes for language (eg eng) but zikula 1.2.5 uses two letter codes (eg en).
    My guess is that your installation is looking for 'eng' but of course it can't find it.
    Have you tried going to localization settings, selecting the language and doing a save?
    Or maybe take a look at your module_vars table (with phpMyAdmin) and changing 'eng' to 'en'? (please take a backup first).
  • tfotis

    Have you tried going to localization settings, selecting the language and doing a save?


    That did the trick, thanks.
    Joe...........

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