PEAK XOOPS - Re: auto-login hacked files for XOOPS 2.2.x in englishin japanese

Re: auto-login hacked files for XOOPS 2.2.x

Target Downloads
Subject auto-login hacked files for XOOPS 2.2.x
Summary ●XOOPS 2.2用のオートログインハック (V4)これは本家版用です。JP版には利用できないので、注意してください!オートログインの機能自体を、完全に作り直したものであるため、しばらくはベータ版扱いとします。ご了承ください。----------------------------------------...

List posts in the topic

normal Re: auto-login hacked files for XOOPS 2.2.x

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2006/5/23 12:04
Norman  二等兵   Posts: 1
I installed this patch to XOOPS 2.2.4 and it did not appear to work. The remember me check box did not appear. After clearing the files from template_c and then restarting Apache, I then saw the checkbox. I had to do both, doing just one wouldn't work.

Then it would not actually auto login. I checked the cookies, and it was not adding any cookies. I verified that autologin.php was being called by adding a print statement.

Further investigation revealed that the test:

@$_SERVER['SCRIPT_FILENAME'] == XOOPS_ROOT_PATH.'/user.php'
was always returning false. Apparently, each side of the test handles symbolic links differently. Changing it to the hard coded full path of user.php fixed the problem and it seems to work now.
Votes:2 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!