3 messages in com.mysql.lists.eventum-usersRe: Problem with language setup in 1.5.1
FromSent OnAttachments
Cris Perdue18 Mar 2005 19:20 
Bryan Alsdorf28 Mar 2005 20:10 
Cris Perdue29 Mar 2005 08:22 
Subject:Re: Problem with language setup in 1.5.1
From:Bryan Alsdorf (bry@mysql.com)
Date:03/28/2005 08:10:00 PM
List:com.mysql.lists.eventum-users

Hi Cris,

We you able to to track it down to a specific line of Language::setPreference() ? That would be very helpful in fixing this problem so other users don't run into it.

I have been unable to reproduce this problem.

Regards, /bryan

Cris Perdue wrote:

Had trouble today getting started with Eventum, and the reason turned out to be related to language selection.

The eventum/setup/ page appeared properly, but when I filled in the fields and submitted, the target page and all others showed up empty, and I was able to obtain no error reports. This was quite frustrating. However, by process of elimination I was able to track the problem down to a call to the call to

Language::setPreference();

in config.inc.php.

I am using SuSE Linux 9.1, and my LANG environment variable is set to en_US.UTF-8.

PHP is new for me, so I'm not very good at tracking down the underlying cause, but hopefully one of the maintainers will understand what was wrong here and do something to make the code more robust. Replacing the call with:

@define(APP_CURRENT_LANG, "en");

seems to have resolved the problem.

-Cris

Are you MySQL certified? www.mysql.com/certification