phpScheduleIt
May 19, 2013, 10:51:46 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: coding perplexity  (Read 280 times)
kordan
Jr. Member
**

Karma: 0
Posts: 53


« on: March 21, 2012, 08:04:16 AM »

I am sorry Nick for writing this but...
as fas as I can understand, $row[ColumnNames::LANGUAGE_CODE]; at line 106 of phpScheduleIt/lib/Application/Authentication/Authentication.php is not defined!
May this be involved in the problem that sometimes logged in users (using LDAP authentication) are switched to English language?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #1 on: March 23, 2012, 05:19:24 PM »

Hmm, I'm not seeing that. What version is this?
Logged
kordan
Jr. Member
**

Karma: 0
Posts: 53


« Reply #2 on: March 26, 2012, 06:26:29 AM »

2.0.2. Thanks to you.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #3 on: March 27, 2012, 01:53:43 PM »

Ahh, I see.

This will be fixed in 2.1. For now, you can change lines 317-320 of lib/Database/Commands/DataConstant.php to:

Code:
const LOGIN_USER =
            'SELECT *
FROM users
WHERE (username = @username OR email = @username)';
Logged
kordan
Jr. Member
**

Karma: 0
Posts: 53


« Reply #4 on: March 28, 2012, 01:38:19 AM »

cool! Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!