PDA

View Full Version : Can't login from e107



BrainDamage
10-08-2004, 04:28 AM
Hi !!

I have this problem : I can't login from e107 ! :o

When I enter login info, it forwards me to the forum. Once I login from the forum both cookies are created fine !!! And when I Logout from e107 or forum both cookies are created right !!

So there must be something wrong with cookie creation when loggin from e107 !!!

Do you have any idea ???

Patrick
10-08-2004, 04:45 PM
Do the accounts have separate passwords? If so, just login to the forums and change the password. This will update the password for both accounts.

If that doesn't work then there may be a different problem and perhaps I need to fix it.

BrainDamage
10-08-2004, 11:51 PM
I made all verifications !!

Uninstalled the script and reinstalled twice ! verified that passwords IDs and email addresses were identical for all users (took 10 random users including admins and their settings were fine) !

I even verified that the uninstall script cleans the files !!!

The problem is with login from e107 !! All the rest is working...

Patrick
10-09-2004, 09:39 AM
Well the script works fine for me. Are you using a newer version?

Also:
Does the e107 cookie password match the password of your e107 user account (I believe e107 cookie is of format ID.MD5PASSWORD, so check the md5password part against your e107 database password).

BrainDamage
10-10-2004, 01:33 AM
How do I do this verification ???

I can see that account passwords are same between e107 and invision !!

How can I see the password generated by the cookie ?? I use Windows XP and have both mozilla and IE

Patrick
10-10-2004, 11:57 AM
I use firefox. In Tools > Options > Privacy > Cookies I check Ask every time.

Then I click show details when the cookie notification comes up. There is will display the content of the cookie.

e107's cookie, if I remember correctly, is setup in the format of ID.MD5PASS

Therefor an example may be:
23.4395thju9asdfg43ASFJadsjff

where 23 is the user's id and 4395thju9asdfg43ASFJadsjff is the user's md5 password.

You need to take that password and compare it with the password in e107's user database.

If the passwords match, then your problem probably lies with the cookie domain. If the passwords do not match, then your problem is the result of:
a) You entered the wrong password.
B) The script is either over-encrypting or under-encrypting the password and it is something I need to fix. This can't be the case if you are using v1.01 of the script, but it could be the problem if you are using v1.10 (as I haven't tested v1.10).

BrainDamage
10-11-2004, 03:15 AM
Cookie pass at the stage of 23.4395thju9asdfg43ASFJadsjff (23 is ID) is different from the one in the database :o

How can I correct that ?? notice that I get logged into e107 when I login from the forum... and I tried reinstalling the whole thing over and over... nothing !

Please advise :unsure:

Patrick
10-11-2004, 11:43 AM
Which version of the hack are you using?

BrainDamage
10-11-2004, 04:29 PM
The first one !!!

I tried event the beta 1.10 but had the same problem

I use e107 .617 with invision 1.3.1 Final

Patrick
10-11-2004, 08:10 PM
Is the e107 cookie value the same when you compare logging in from the forum to logging in from the modified e107 login box?

Devil
10-12-2004, 11:29 AM
@ BrainDamage: Try this. Change your password in your forum. The hack change the password in your forum and in your e107. now the login should work

Patrick
10-12-2004, 06:11 PM
@ BrainDamage: Try this. Change your password in your forum. The hack change the password in your forum and in your e107. now the login should work
I suggested that earlier ;). Maybe he didn't hear me the first time though. :D

BrainDamage
10-12-2004, 07:18 PM
I tried changing the password !!! does not work !

BrainDamage
10-14-2004, 09:38 AM
Is there any solution ??

I still can't login from e107 !! :huh:

Patrick
10-14-2004, 05:49 PM
Is the e107 cookie value the same when you compare logging in from the forum to logging in from the modified e107 login box?
Still waiting for an answer ;)

BrainDamage
10-15-2004, 01:44 AM
Here's what's happening :

by saying 1st, 2nd cookie etc.. I mean the cookies modifications the script does !

########################
### Connect From e107
#######################

#First Cookie
Name : Session_id
Content : a057b9d1357f651761d7ff5a5f29620f
Path : /

Then It redirects to the forum login page !!!!

###########################
### Connect From invision
##########################

I click on Login

#1st Cookies
Name : Session_id
Content : a057b9d1357f651761d7ff5a5f29620f
Server : www.nextrock.com
Path : /

notice that it's the same cookie, but from the forum it adds the server variable !

I enter my login and Password

#2nd Cookie

Name : Session_id
Content : a057b9d1357f651761d7ff5a5f29620f
Server : www.nextrock.com
Path : /


#3rd Cookie

Name : ecookie
Content : 1.b06f5762e351070077de8aa2239590ec
Server : .nextrock.com
Path : /


#4th Cookie

Name : ecookie
Content : 1.b06f5762e351070077de8aa2239590ec
Server : .nextrock.com
Path : /


#5th Cookie

Name : member_id
Content : 1
Server : www.nextrock.com
Path : /

#6th Cookie

Name : pass_hash
Content : 1e750819954700ee1fd450b655f30643
Server : www.nextrock.com
Path : /


#7th Cookie

Name : session_id
Content : a057b9d1357f651761d7ff5a5f29620f
Server : www.nextrock.com
Path : /


I get the redirect page !

#8th Cookie

Name : session_id
Content : a057b9d1357f651761d7ff5a5f29620f
Server : www.nextrock.com
Path : /

Logged in both e107 and invision !

Logout logs me out of both too !!!

Any solution ?

Patrick
10-15-2004, 05:07 PM
Wait, so the login and all that is working fine?

You just get redirected to the forum login page (and therefore have to retype username / password) when you try to login from e107?

If this is the problem then it is likely e107 updated their login box and the script modifications need to be fixed.

BrainDamage
10-15-2004, 10:39 PM
YES !!! that's exactly the problem !!!

Can you fix that ? would be so fine
:D

BrainDamage
10-20-2004, 04:12 PM
:blink: is it from the new login plugin or is it from my site ??????

Patrick
10-20-2004, 06:37 PM
probably the new e107 code and NOT your site specifically.

I will try to look at the new code and release an update. Or you could yourself if you want it working faster.

I am very busy at the moment with other projects / papers ect. that are taking up quite a bit of time. I am hoping to get alot of work done on this script as well as my EP-Dev Forum News script around the end of October.

BrainDamage
10-22-2004, 01:31 PM
It's my site !!!!

It works fine with e107 v0617 ! <_<

BrainDamage
11-01-2004, 10:22 PM
:huh: I reinstalled everything !! Not my site actually

Something with the new e107 version :(

The script isn't 100% compatible with .617