Invalid Locale Category Name
  • gpicazo November 2011

    Hi,

    I just installed Ofuz 0.6.2. After completing the installation steps, I went to login and I am able to, but I get the following PHP warning at the top of the page:

    Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in C:\wamp\www\includes\i18n_functions.conf.inc.php on line 67

    Any help would be appreciated.

    Thanks,
    Genaro

  • abhikabhik November 2011

    @gpocazo I suppose thats a problem with the windows using the getText for the multi-language.
    LC_MESSAGES for system responses (available if PHP was compiled with libintl)
    And in Windows it might be an issue

    Could you please add this line-

    if (!defined('LC_MESSAGES')) define('LC_MESSAGES', 6);
    before

    setlocale(LC_MESSAGES,$GLOBALS['cfg_lang'].".".$GLOBALS['cfg_charset']);

    in includes/i18n.conf.inc.php

    Let us know if this works for you.

  • philippephilippe November 2011

    Which version of PHP are you running ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Tagged

P.O. Box 121, Culver City, CA 90232, 310-765-4632
Copyright © 2009 - 2013. All rights reserved.
Terms of Service
Privacy Policy