Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Issue reported by mail :
I am evaluating the software to manage a set of projects. Until yesterday, I was using 3.3.2. Since my instance is not a production environement, I decided to upgrade to 3.4.0.
With 3.3.2, creation of new users upon LDAP authentication was working fine. Upgrade to 3.4.0 seems to have broken that. Each attempt to connect a new user by LDAP fails and I get that error in the project’or RIA log file :
2013-07-17 18:19:31 ** ERROR ** ERROR **
2013-07-17 18:19:31 ** ERROR ***** on file '/var/www/projectorria/tool/projector.php' at line (1046)
To fix this issue:
in file /model/User.php, add
$_SESSION['user']=$this;
just before line 691
$resultSaveUser=$this->save();
Result shoild look like this
$this->isLdap=1;
$this->name=$paramlogin;
$this->idProfile=Parameter::getGlobalParameter('ldapDefaultProfile');
$_SESSION['user']=$this;
$resultSaveUser=$this->save();
$sendAlert=Parameter::getGlobalParameter('ldapMsgOnUserCreation');
Patch is attached.