PEAK XOOPS - After users login, sends them back to login page in englishin japanese

After users login, sends them back to login page

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 .4 | Posted on 2009/1/10 6:30
auxiv  Ĺ   Posts: 42
Hi GiJoe,

On xoops cube, some users cannot log in, they are redirected to the front page still as guest. This has been going on for a while, and I cant figure out why Its happening. I am not using a login hack or anything. You have any ideas?

thank you,

auxiv
Votes:12 Average:6.67
Previous post - Next post | Parent - No child | Posted on 2009/1/10 6:53
auxiv  Ĺ   Posts: 42
seems to be happening on Internet explorer more frequently, It doesnt happen to everyone though, It never happens to me (webmaster) so its difficult to track.

thanks again!
Votes:14 Average:7.14
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/13 13:10
GIJOE  Ǥ   Posts: 4110
hi auxiv.

Do you try XCL 2.1.6?
"xoops cube" is just a name for a project.

There can be some reasons...

(1) broken session table
(2) referer problem
(3) cookie problem
(4) Protector's setting 'Protected IP bits for the session'


You can try this preload for clearing the problem for (1) or (2).

put it as ROOT/preload/FileSession.class.php
<?php

if (!defined('XOOPS_ROOT_PATH')) exit();

class FileSession extends XCube_ActionFilter
{
	function preBlockFilter()
	{
		$this->mRoot->mDelegateManager->add('XCube_Session.SetupSessionHandler', 'FileSession::setupSessionHandler');
	}

	function setupSessionHandler()
	{
		ini_set( 'session.save_handler' , 'files' ) ;
		ini_set( 'session.save_path' , XOOPS_TRUST_PATH.'/session' ) ;
	}
}

Before using this preload, make a folder XOOPS_TRUST_PATH/session and set it writable(0777).
Votes:10 Average:9.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/15 21:15
auxiv  Ĺ   Posts: 42
thank you for your response, have adjusted my XCL 2.1.6 rc2 accordingly. and added the preload file. Now I have to wait and see :)

thank you!

best wishes, auxiv
Votes:9 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/1/16 5:27
GIJOE  Ǥ   Posts: 4110
hi auxiv.

Quote:

thank you for your response, have adjusted my XCL 2.1.6 rc2 accordingly.
Why do you use RC version?
XCL2.1.6 (stable) was released on 21 Nov 2008.
Votes:9 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/16 12:51 | Last modified
auxiv  Ĺ   Posts: 42
Quote:
Why do you use RC version?
XCL2.1.6 (stable) was released on 21 Nov 2008.

thank you!

Quote:
(3) cookie problem
(4) Protector's setting 'Protected IP bits for the session'

(3)cookie problem - (I read where you suggested to someone to use this in mainfile years ago)

define('XOOPS_COOKIE_PATH','/');

(4)I just changed from 24 bits to 32

your suggestion seems to work well using preload/FileSession.class.php (very nice btw)
the majority of people having the login problem are now fixed!
(thank you)
one last person (to my knowledge) still has problems, but she reports using internet explorer 6, so we advised her to update.

You made a few people happy this evening since they can now login where they have not been able to before.


regards, auxiv
Votes:13 Average:6.92
Previous post - Next post | Parent - No child | Posted on 2009/1/17 13:14
auxiv  Ĺ   Posts: 42
ok i see there was corruption happening in the session sql tables, because they *all* work now.

i need to empty the session folder every evening, I had 30k sessions in 48 hours!!

will give me practice with chron job i guess

thanks again for all your input!

regards, auxiv
Votes:10 Average:9.00
Previous post - Next post | Parent - No child | Posted on 2009/1/22 18:20
auxiv  Ĺ   Posts: 42
Hi GiJoe!

Some people are still having problems logging in internet explorer still. I get the feeling it may have something to do with cookies.
Most people can log in no problem, as can I, making it very difficult to track the bug!
Votes:10 Average:8.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!