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

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target Downloads
Subject auto-login hacked files for XOOPS 2.2.x
Summary ●XOOPS 2.2用のオートログインハック (V4)これは本家版用です。JP版には利用できないので、注意してください!オートログインの機能自体を、完全に作り直したものであるため、しばらくはベータ版扱いとします。ご了承ください。----------------------------------------...
Previous post - Next post | Parent - Children.1 .2 | Posted on 2007/1/22 8:55
rowns  二等兵   Posts: 2
I have been trying to get autologin working on my xoops 2.2.4 website (http://www.tolkienguide.com) I have noticed the following issues.

I have been working on Firefox (2.0.0.1) for development. autologin_main.php is never called from autologin.php, because $_SERVER['SCRIPT_FILENAME'] is never empty, it is '/cgi-bin/php'. Once I put a check in for that, I was able to log in and get the cookies set, but now isset( $_COOKIE['autologin_uname'] ) always returns FALSE. I haven't figured out why yet, the cookie is clearly set. Any ideas? This code works fine on my IE browser.

Second, when on my IE browser for testing (V6), I tried to logout to make sure the cookies were cleared. The page went to a strage "user login" page with a big GO button. When I clicked on GO, it logged me in (welcome user) page, then went to the log out page (thank you for visiting.) Then it went to my homepage and everything was normal (logged out, no cookies). Why those extra pages in there?

Third, I was unable to register on your site using Firefox - the register results page is blank. Works fine on IE.

Thanks for the great modules,
Jeremy
Votes:42 Average:9.76
Previous post - Next post | Parent - Children.1 | Posted on 2007/1/22 11:57
rowns  二等兵   Posts: 2
I figured out the cookie problem on firefox - it is a subdomain issue - xoops is set to have the website address as tolkienguide.com, instead of www.tolkienguide.com. All the difference - firefox considers these separate websites as far as cookies go. If I type in the shorter name (no www's) the cookie is found and the autologin proceeds normally.
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/1/23 3:56
GIJOE  先任軍曹   Posts: 4110
Was your problem fixed?

Though
$_SERVER['SCRIPT_NAME']
will be 'cgi-bin/php',

$_SERVER['SCRIPT_FILENAME']
should be PHP file, perhaps.
Votes:4 Average:7.50
Previous post - Next post | Parent - Children.1 | Posted on 2007/2/27 20:19
slyss79  三等軍曹   Posts: 143
Quote:

rowns wrotes:
I figured out the cookie problem on firefox - it is a subdomain issue - xoops is set to have the website address as tolkienguide.com, instead of www.tolkienguide.com. All the difference - firefox considers these separate websites as far as cookies go. If I type in the shorter name (no www's) the cookie is found and the autologin proceeds normally.

please tell me how do you have make your autologin into 2.2.4 work....
Votes:3 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/2 3:47
GIJOE  先任軍曹   Posts: 4110
I cannot understand why autologin hack does not work with your site.
Votes:2 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/2 18:36
slyss79  三等軍曹   Posts: 143
Quote:

GIJOE wrotes:
I cannot understand why autologin hack does not work with your site.

i don't know why...

maybe why my site is www.mysite.com/site/ ?
Votes:4 Average:7.50
Previous post - Next post | Parent - No child | Posted on 2007/3/3 5:27
GIJOE  先任軍曹   Posts: 4110
Quote:

slyss79 wrotes:
don't know why...

maybe why my site is www.mysite.com/site/ ?
Perhaps, no.

Try the other bowser.
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/5 7:22
slyss79  三等軍曹   Posts: 143
hi

i have tried many browser but i receive ever INCORRECT LOGIN

this is my site: http://www.youtube.com/watch?v=Ek9K9FRFNPU

my root site is: http://www.stefanosnetwork.com/site/

please help me about this... thanks a lot...
Votes:3 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/6 2:07
GIJOE  先任軍曹   Posts: 4110
Quote:
i have tried many browser but i receive ever INCORRECT LOGIN
"INCORRECT LOGIN"? instead of auto-login failed?

You should report what's wrong with DETAIL.
displaying cookie as browser's feature helps you.
Votes:5 Average:6.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/6 9:09
slyss79  三等軍曹   Posts: 143
Quote:

GIJOE wrotes:
Quote:
i have tried many browser but i receive ever INCORRECT LOGIN
"INCORRECT LOGIN"? instead of auto-login failed?

You should report what's wrong with DETAIL.
displaying cookie as browser's feature helps you.

i receive "incorrect login" and this message: " Sorry, no corresponding user info was found."

i have see cookied details but i don't understand what i must do...

can you help me ? thanks a lot...
Votes:5 Average:8.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/6 12:37
GIJOE  先任軍曹   Posts: 4110
Do you mean you cannot login at all with my hack, without regard to automatically or manually?
Votes:3 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/6 18:15
slyss79  三等軍曹   Posts: 143
Quote:

GIJOE wrotes:
Do you mean you cannot login at all with my hack, without regard to automatically or manually?

if i use your autologin hack into my 2.2.5 i can't login because i receive "incorrect login"....

with manually login is all ok.

how i can help you to understand the problem ?
Votes:11 Average:1.82
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/7 4:06 | Last modified
GIJOE  先任軍曹   Posts: 4110
I cannot understand what you mean, yet.

Anyway, check your COOKIE named 'autologin_uname' and 'autologin_pass' after login.

- exists or not
- value
- expire
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/7 22:00
slyss79  三等軍曹   Posts: 143
Quote:

GIJOE wrotes:


Anyway, check your COOKIE named 'autologin_uname' and 'autologin_pass' after login.

- exists or not
- value
- expire

- autologin_uname e autologin_pass exists
- value: see here screenshot: click here
- expire: 14 march (today is 7)

autologin_pass look wrong because is there a date before the password... please check on screenshot

thanks a lot gijoe
Votes:7 Average:5.71
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/8 3:39
GIJOE  先任軍曹   Posts: 4110
OK. I've checked it. Remove the image.

Quote:
autologin_pass look wrong because is there a date before the password... please check on screenshot
It is quite normal.

Rest possibility...

- PHP incompatibility with browfish encoding or decoding.
write your PHP version.

- cookie path
Try to insert a line into mainfile.php
	define('XOOPS_COOKIE_PATH','/');
Votes:11 Average:3.64

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

msg# 1.2.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/8 7:42
slyss79  三等軍曹   Posts: 143
thanks a lot for your reply...

i have tried to insert the line into mainfile but dosn't work... i still receive "incorrect login"

so i have:

php 5.0.4-10.5

mysql 4.1.20-1.FC4.1

thanks gijoe....
Votes:3 Average:10.00

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

msg# 1.2.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2007/3/10 16:35
slyss79  三等軍曹   Posts: 143
any news for me ?

thanks a lot
Votes:10 Average:9.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!