-
AuthorPosts
-
podnot Friend
podnot
- Join date:
- December 2010
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 18, 2011 at 9:23 pm #165394Summary: Error occurs when you try register with using Jomsocial registration form. Registration process is unsuccessful. Is ending with error message = INVALID TOKEN
Steps to Reproduce: When you try register with using Jomsocial registration form.
Results: Registration process is unsuccessful.
Product version: 2.2.2
Joomla! version: Version 1.5.23
PHP version: 5.2.17
MySQL version: 5.0.91-log
Webserver version: Apache
Joomla! template used: JA_SOCIAL 1.2.2
JomSocial template used: JA_SOCIALpritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
June 20, 2011 at 1:34 pm #397411Hello podnot ,
Can you please provide your site url and admin access at http://support.joomlart.com/index.php?/Tickets/Ticket/View/74941 , So that we can help.
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
June 21, 2011 at 9:53 am #397605Hello podnot ,
I checked your given url and access details. But when I enter login details it did nothing. Can you provide correct login details so that I can take a look on that.
podnot Friendpodnot
- Join date:
- December 2010
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 22, 2011 at 7:31 am #397798<em>@pritam 248614 wrote:</em><blockquote>Hello podnot ,
I checked your given url and access details. But when I enter login details it did nothing. Can you provide correct login details so that I can take a look on that.</blockquote>
I have tried it and you have true that saved password doesn’t work. But I’m sure that this passw is correct. I have sent PM to you…
podnot Friendpodnot
- Join date:
- December 2010
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 25, 2011 at 6:18 am #398335Hi. I’m still waiting for help. I see that my ticket has been closed but my problem isn’t resolved. Some explanation for me will be fine. Thanks. :confused:
podnot Friendpodnot
- Join date:
- December 2010
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 26, 2011 at 4:58 pm #398488Why still don’t have eny response from JA?
I have tried quick installation for ja_social and I found that login/registration through mod_jalogin is working fine but when you use registration form from JomSocial so is ending with INVALID TOKEN error.
Is here somebody who can help me? >:(
podnot Friendpodnot
- Join date:
- December 2010
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 28, 2011 at 9:39 pm #398936I have the fixed. Here is explanation with instructions:
1. open file:
$JS_HOME/components/com_community/controllers/register.php
2. Look at line 68 and uncomment this line and changed to the below for debugging:
echo $formToken .'|'. $authKey .'|'. $token .'|'. $ipAddress;
3. Now try registration through Jomsocial registation form. From debug on the site you can see the authkey always empty and two ip addresses in format aaa.bbb.ccc.ddd,http://www.xxx.yyy.zzz
If you refer to line 66 of the register.php again, you’ll see why the invalid token is triggered:
if(empty($formToken) || empty($authKey) || ($formToken != $authKey))
The ip column of jos_community_register_auth_token table in the database is defined length of 25 which is not enough for the 2 ips. Hence, it got truncated on insert and the query would never return result. Hence auth_key is empty and we get invalid token.4.Solution for described problem is extend the IP column from 25 to 31 length for fit 2 ips with a comma in between.
5. Now should be registration problem fixed.
1 user says Thank You to podnot for this useful post
matt871401 Friendmatt871401
- Join date:
- January 2012
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
January 17, 2012 at 5:25 am #434094Can a DEV confirm this? I am having the same issues. I am also receiving Invalid Token upon login and after idle, it seems to have plagued our website since the new JA template was installed.
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by matt871401 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum