By aelsharawi on Sunday, 22 June 2014
Posted in General Issues
Replies 15
Likes 0
Views 1K
Votes 0
I got this from one of my users:

1-login using facebook
2-choose exsisiting account
3-he enters a wrong password
4-and no link for forget password in that page ,he has to do it from the main page
and the interesting thing ,then when he goes to the front page and click on forgot password,he has :

I can easily fix it from backend by resttting it ,but I wish to debug it
·
Sunday, 22 June 2014 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
And I think u remember the loop redirect that I posted before ,I mange to repoduce it:

1-the user clicks on reset password in front end
2-the user account is flagged "acitvated" no
2-the administrator press on reset password on backend
3-the user login with the same password
4-he goes into loop redirect:component/users/profile?layout=edit
·
Sunday, 22 June 2014 00:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Any ideas ?
·
Monday, 23 June 2014 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello aelsharawi,

Sorry for late reply to this,
#1. Regarding with your first question :
I got this from one of my users:
1-login using facebook
2-choose exsisiting account
3-he enters a wrong password
4-and no link for forget password in that page ,he has to do it from the main page

>> Correct me if i getting wrong your meaning here, do you mean that "Forget Password" link should be appear after the user sign in with Facebook that page right? check my screenshot here : http://screencast.com/t/nVu2Z0Gaqf
>> If yes, there should not be provide this "forget password" link because that was half way in the progress, so you have to do it from homepage.

#2. Regarding with your second question :
and the interesting thing ,then when he goes to the front page and click on forgot password,he has :
I can easily fix it from backend by resttting it ,but I wish to debug it

>> I have a little bit lost here, How to reproduce on this issues then getting this error like you provided that screenshot at above?
>> Because I have tried to click on the forgot password in your site for my test user "arlex", it seems like work fine for me and success to reset the password.

#3. Regarding with your third question :
And I think u remember the loop redirect that I posted before ,I mange to repoduce it:
1-the user clicks on reset password in front end
2-the user account is flagged "acitvated" no
2-the administrator press on reset password on backend
3-the user login with the same password
4-he goes into loop redirect:component/users/profile?layout=edit

>> May i know how do you reset the password from backend? Please advise.
·
Monday, 23 June 2014 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for help
#1 so how can you solve. A scenario like this ?



#2The error I sen it's screenshot is for specific user email ,see it on the extrainfo field


#3And also the redirect loop account you can find it in the extra info field in the previous post,you will see this account is flagged reset passorrd at the backend
·
Monday, 23 June 2014 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
to rquest user to rest his passowrd from the back end,you need to edit user details,then siwthch ,require a rest to yes
·
Tuesday, 24 June 2014 03:35
·
0 Likes
·
0 Votes
·
0 Comments
·
I have recreated the clone site again:(i INSTALLED THE EASYSOCIAL BETA IN THAT CLONE)

with the same password,If u want to try more agressive measurments use the clone site
·
Tuesday, 24 June 2014 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
so the user with error "cant save" was due to his usernamae had a space at the end "don't know why i was like that from the first place"

the loop redirect issue still there !
·
Tuesday, 24 June 2014 13:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello aelsharawi,

Sorry for late reply to this,
#1 so how can you solve. A scenario like this ?
>> If you would like to add the "Forget password" link in that particular page, you can add this code in your file
JoomlaFolder\components\com_easysocial\themes\wireframe\registration\oauth.php
LINE 42

<a class="text-error" href="<?php echo FRoute::account( array( 'layout' => 'forgetPassword' ) );?>"> <?php echo JText::_( 'COM_EASYSOCIAL_LOGIN_FORGOT_PASSWORD' );?></a>


#2The error I sen it's screenshot is for specific user email ,see it on the extrainfo field
>> It seems like the error message is not able to save this user in database.
>> Is it only this user "xxx xxx" hitting this issues?

#3And also the redirect loop account you can find it in the extra info field in the previous post,you will see this account is flagged reset passorrd at the backend
>> Oh, i just got it what you mean you mentioned above, do you mean that when you set "Require reset password" from your backend > user > edit user right?
>> If yes, we are still investigate on this issues, we will getting back to you as soon as possible.
·
Tuesday, 24 June 2014 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
great ,thanks for that, and about that specific user "hope u delete his name ,thanks " he has a space at the end of the user name,I wonder is easydiscuss can pevenent that a user use a space in username during registration ,and do u know how to do check of database on that ?
·
Tuesday, 24 June 2014 13:52
·
0 Likes
·
0 Votes
·
0 Comments
·
ok to search for spaces in username use '% ' and ' %' as sql search query, that helped very much
·
Tuesday, 24 June 2014 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
looks like the registration form ,dosnt search for space at the end or beginning of the uname in easysocial
·
Tuesday, 24 June 2014 14:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello aelsharawi,

I'm sorry that delayed of this reply,
Regarding if the admin set the "Require password reset" option from the Joomla user :
>> We would recommended you set this "require password reset" from EasySocial in the future, because we will add this in future release version.

Can you provide some screenshot regarding which field column are you searching for space?
*looks like the registration form ,dosnt search for space at the end or beginning of the uname in easysocial

Please advise.
·
Wednesday, 25 June 2014 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
https://www.dropbox.com/s/fp7iy2dmb5qmldh/Screenshot%202014-06-26%2015.31.49.png

Hhere i the field that shall seaech for spaces at the start and the end of user names
·
Friday, 27 June 2014 06:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello aelsharawi,

I'm really sorry that delayed of this reply,
I have checked in your screenshot, It seems like you point to "FF " <- that is Last name field right?
We only do the checking on that Username field, or are you asking how to get rid of that space when during the registration? Please advise.
·
Sunday, 29 June 2014 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post