YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 2 
Topic Tools
 
New Users Login Issues after Upgrade to 2.5.2 (Read 2,550 times)
 Nov 9th, 2012 at 7:37pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
New Users Login Issues after Upgrade to 2.5.2
I've upgraded our forum from 2.5 to 2.5.2.

There is no problems with new users registering and activating their accounts.

When they try and login it is giving the message:

"Username / Password mismatch.
The Username you specified does not exist or you entered a wrong password. "

I've tried registering a test account myself, and I'm encountering this too when using the system generated password which is in the format "5jT0Lgj5lgC4l3Tp2Lz02Q" (without the quotes).

We have tried using the Forgotten Password link to reset the password, and when clicking on the link (from the reset email) the following error is displayed:

"You have an invalid ID. Please try again."

Does anyone have any ideas what might cause this ??

Thanks in advance for your help,

Daniel
 
 
IP Logged  
 Reply #1 - Nov 9th, 2012 at 7:57pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
can you ftp into your forum and check the CHMOD for the *.vars files are set to 644
and can you also check that the 5jT0Lgj5lgC4l3Tp2Lz02Q.vars file

will look something like this
Code Select All
### User variables for ID: admin ###

'realname',"YaBB Administrator"
'password',""
'position',"Administrator"
'addgroups',""
'email',"webmaster@example.com"
'hidemail',"checked"
'regdate',""
'regtime',""
'regreason',""
'location',"The Land of YaBB"
'bday',"" 

 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #2 - Nov 9th, 2012 at 8:04pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
Thanks for your reply.

I've checked and the permissions of the file testuser.vars was already set to 644.

The contents look like this:

Code Select All
### User variables for ID: testuser ###

'realname',"testuser"
'password',"5jT0Lgj5lgC4l3Tp2Lz02Q"
'position',""
'addgroups',""
'email',"testemail@mydomainname.com"
'hidemail',"1"
'regdate',"11/09/12 at 19:27:31"
'regtime',"1352489251"
'regreason',"Test (Reg)"
'location',""
'bday',"" 


It then continues with more fields...

Any ideas ?

Thanks
Daniel
« Last Edit: Nov 9th, 2012 at 8:06pm by djblamire »  
 
IP Logged  
 Reply #3 - Nov 9th, 2012 at 8:09pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
ok to test to see if it is a ownership issues can you set that one file to 666 and see if it will login
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #4 - Nov 9th, 2012 at 8:11pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
Thanks for the reply.

I've set it to 666, but still having the same issue.

Thanks
Daniel
 
 
IP Logged  
 Reply #5 - Nov 9th, 2012 at 8:19pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
I've just been looking into this further.

In the file for admin.vars it shows a password of similar length to that shown in the testuser.vars file - eg, 5jT0Lgj5lgC4l3Tp2Lz02Q

Yet, when logging into admin that isn't the format of the password we would actually enter to login, but the testuser has been e-mailed that format as their actual password.

Is that correct ?

Thanks in advance,

Daniel
 
 
IP Logged  
 Reply #6 - Nov 9th, 2012 at 8:21pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
ok set it back to 644
if you can login to the forum can you goto admin and click on Detailed Version Check and you will see
Code Select All
YaBB File      Users Version

YaBB Package   YaBB 2.5.2

YaBB.pl        YaBB 2.5.2 Build 1.2

AdminIndex.pl  YaBB 2.5.2 Build 1.3 


all items will list as YaBB 2.5.2 if not can you reupload them and try to login agen.
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #7 - Nov 9th, 2012 at 8:23pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
They show as 2.5.2

Code Select All
YaBB Package	YaBB 2.5.2
YaBB.cgi	YaBB 2.5.2 Build 1.1
AdminIndex.pl	YaBB 2.5.2 Build 1.3
English Language Pack	YaBB 2.5.2 



I'm not sure if you noticed my second reply (above) regarding looking into the actual passwords - Not sure if I am way off with the issue there, or if it makes any sense.

Thanks again,

Daniel
 
 
IP Logged  
 Reply #8 - Nov 9th, 2012 at 8:34pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,862
Earth


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
The passwords you see in the vars files have been encoded and there's no decode function to let anyone see what it was.

You can set the admin password by hand by opening the admin.vars (or any other vars file for that matter)  in a text editor and hand editi the password in plain text. Then the next login will encrypt it.

This "5jT0Lgj5lgC4l3Tp2Lz02Q" is an encrypted password where the original could be 4 letters long.

Not sure why a new registrant would be being sent an encrypted password.  This may require some looking into.
 
WWW  
IP Logged  
 Reply #9 - Nov 9th, 2012 at 8:37pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
Dandello wrote on Nov 9th, 2012 at 8:34pm:
The passwords you see in the vars files have been encoded and there's no decode function to let anyone see what it was.

You can set the admin password by hand by opening the admin.vars (or any other vars file for that matter)  in a text editor and hand editi the password in plain text. Then the next login will encrypt it.

This "5jT0Lgj5lgC4l3Tp2Lz02Q" is an encrypted password where the original could be 4 letters long.

Not sure why a new registrant would be being sent an encrypted password.  This may require some looking into.


Yes, they received a password like that by e-mail and I did too when I tested it.

Any ideas ?

Thanks
Daniel
 
 
IP Logged  
 Reply #10 - Nov 9th, 2012 at 8:39pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
djblamire wrote on Nov 9th, 2012 at 8:23pm:
I'm not sure if you noticed my second reply (above) regarding looking into the actual passwords - Not sure if I am way off with the issue there, or if it makes any sense.Thanks again,Daniel

sorry i did not see it but you are in good hands with Dandello  Wink
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #11 - Nov 9th, 2012 at 8:59pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
Yes, it seems as though all new users are being e-mailed the encrypted password, rather than the normal password.

They are then obviously unable to login as they are trying to login using this.

My install is a new 2.5.2 install with the relevant files from 2.5AE copied over (as per the upgrade instructions).

Any help would really be appreciated, as this is causing us some issues, as you would expect.

Thanks
Daniel
 
 
IP Logged  
 Reply #12 - Nov 9th, 2012 at 9:09pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,862
Earth


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
The quick fix is to allow them to set their own passwords - we know that works.

This is now an official bug and it on the bug-fix list.
 
WWW  
IP Logged  
 Reply #13 - Nov 9th, 2012 at 9:10pm
There are no actions to perform.  

djblamire 
Full Member
***
Offline
Posts: 157


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
Official bug - as in affecting every forum ?

Also, do I need to change both of the following settings in the meantime ?

E-mail new password if a user changes his/her e-mail address?      
E-mail Random Password to New Member Upon Registration?

Thanks
Daniel
« Last Edit: Nov 9th, 2012 at 9:21pm by djblamire »  
 
IP Logged  
 Reply #14 - Nov 9th, 2012 at 9:41pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,862
Earth


YaBB 2.5
Re: New Users Login Issues after Upgrade to 2.5.2
As in affecting every forum. We added a security encoding for passwords for new members - we thought we'd tested it but obviously hadn't because in encoding the password in this one section, it emailed out the encrypted password that was stored.  Embarrassed

I doubt it would be a problem with sending new passwords to existing members since that should be directly out of their vars file.

This will be in the fix-file.

In Register.pl find:
Code Select All
	      $regpass = encode_password($member{'passwrd1'}); 


replace with
Code Select All
     $regpass = $member{'passwrd1'};  


 
WWW  
IP Logged  
Pages: 1 2 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.