6 messages in com.mysql.lists.eventum-develRE: Localization - error in config.in...
FromSent OnAttachments
AVD-ICT Milo van der Linden01 Jun 2006 03:37 
Bryan Alsdorf01 Jun 2006 19:52 
AVD-ICT Milo van der Linden02 Jun 2006 01:37 
Bryan Alsdorf09 Jun 2006 20:58 
AVD-ICT Milo van der Linden29 Aug 2006 04:55 
AVD-ICT Milo van der Linden29 Aug 2006 08:26 
Subject:RE: Localization - error in config.inc.php after new install
From:AVD-ICT Milo van der Linden (M.va@avd-ict.nl)
Date:06/02/2006 01:37:37 AM
List:com.mysql.lists.eventum-devel

Thanks Bryan!

I have it working. It requires one extra step on a windows installation which i found on php.net.

-------------------- For all Windows-Users: Be warned the LC_MESSAGES seems to be NOT set on Windows with PHP 5.1.2, so if you develope applications for a Linux-System and want to make it multi-language using gettext, you will get problems using LC_MESSAGES on your Windows-Developement-Box. You can try to solve this problem by putting a

<?php if (!defined('LC_MESSAGES')) define('LC_MESSAGES', 6); ?>

to your script to get no warning if you pass LC_MESSAGES to the setlocale()-function.

I added this line in the setpreference function in class.language.php and now it works ok

--------------------

There is one notice left:

Notice: Use of undefined constant SID - assumed 'SID' in E:\Webroot\helpdesk\include\class.template.php on line 201

Is it critical or can I just ignore it?

AVD ict GIS consultant M. van der Linden [Milo]