msg# 1
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
msg# 1.1
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
msg# 1.2
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
msg# 1.1.1
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
msg# 1.1.1.1
I cannot understand why autologin hack does not work with your site.
Votes:2
Average:10.00
msg# 1.1.1.1.1
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
msg# 1.1.1.1.1.1
Quote:
Perhaps, no.
Try the other bowser.
Votes:2
Average:5.00
msg# 1.2.1
hi
i have tried many browser but i receive ever INCORRECT LOGIN
this is my site:
http://www.youtube.com/watch?v=Ek9K9FRFNPUmy root site is:
http://www.stefanosnetwork.com/site/please help me about this... thanks a lot...
Votes:3
Average:6.67
msg# 1.2.1.1
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
msg# 1.2.1.1.1
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
msg# 1.2.1.1.1.1
Do you mean you cannot login at all with my hack, without regard to automatically or manually?
Votes:3
Average:10.00
msg# 1.2.1.1.1.1.1
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
msg# 1.2.1.1.1.1.1.1
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
msg# 1.2.1.1.1.1.1.1.1
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
msg# 1.2.1.1.1.1.1.1.1.1
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
msg# 1.2.1.1.1.1.1.1.1.1.1
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
msg# 1.2.1.1.1.1.1.1.1.1.1.1
any news for me ?

thanks a lot
Votes:10
Average:9.00