I just frantically spent my entire morning solving a similar problem. We moved from RHEL5 (php 5.1) to RHEL6 (php 5.3) a few days ago. This morning, I get a call from someone trying to log in, and we had the exact same problem: no error, but no login.
I can't figure out why this actually *works* for anyone. Take a look at the login function in classes/security/Validation.php. Notice that it sets up your user session all nicely, but it never actually saves the session!
I inserted the following code after line 110, and everything works now:
- Code: Select all
$sessionDao =& DAORegistry::getDAO('SessionDAO');
I guess our line numbers could be different, so note that this goes right AFTER the "$userDao->updateObject($user)" line and right before the "return $user" line at the very end of the function.
OJS folks: this is a major bug!