1
rbrad
Updated to .18.1 No one can login...
  • 2008/3/4 1:29

  • rbrad

  • Just popping in

  • Posts: 2

  • Since: 2008/3/4 1


I did the upgrades to the most recent release... Now no one can login. Suggestions?

2
Mamba
Re: Updated to .18.1 No one can login...
  • 2008/3/4 7:22

  • Mamba

  • Moderator

  • Posts: 11256

  • Since: 2004/4/23


You need to provide more information. Are there any errors? Is the Website fully operational, but the only thing missing is that you cannot login?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
rbrad
Re: Updated to .18.1 No one can login...
  • 2008/3/4 13:51

  • rbrad

  • Just popping in

  • Posts: 2

  • Since: 2008/3/4 1


Hello all... Not sure what else to offer. It appears to be operational from the viewpoint of not being logged in. Normally I am logged in, so I have been playing around from different areas, but since I can't log in as admin or a normal user I can't tell for sure. I have tried to register and login with new information, I can register as a new user, but can't login with the new user info. The new user is created and added to the xoops_users table. Thanks.

4
Yurdal
Re: Updated to .18.1 No one can login...
  • 2008/3/4 16:39

  • Yurdal

  • Friend of XOOPS

  • Posts: 375

  • Since: 2005/3/27


Check this reply:

Hi:

After upgrading, I cannot login (no matter what browser).

Changing line 80 of kernel/session.php to the following fixed it:

var $enableRegenerateId = true;

(it's declared as "false" in 2.0.18.1, but it was "true" in 2.0.18).

Regards: Colossus

5
benCorpo
Re: Updated to .18.1 No one can login...
  • 2008/3/19 13:51

  • benCorpo

  • Just popping in

  • Posts: 17

  • Since: 2006/2/5 2


Also found this line (line #262) in include/common.php that was emptying the user info:
// Remove expired session for xoopsUserId
if ( $xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '' && !isset($_COOKIE[$xoopsConfig['session_name']]) && !e
mpty($_SESSION['xoopsUserId']) ) {
unset( $_SESSION['xoopsUserId'] );
}

For some reason, right after the login, I suspect the cookie to contain the wrong info, thus preventing anyone from login anymore.

I commented out the line #263 (the unset()) and everything is back to normal!

Hope this is useful.
Ben

Login

Who's Online

69 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 69


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits