Mark Fertig 23 November 2014 17:15 |
Hi Marcus, a user cannot log in after his username was changed? Is this a bug, or do I need to do something? Mark |
Marcus Butler (STEARsoft) 24 November 2014 07:30 |
Thank you Mark for your post.
Reset his password and all should be fine. The bug is in documentation and lack of user feedback. Whenever a username is changed the password also needs to be reset.
Yours,
Marcus |
Mark Fertig 24 November 2014 17:55 |
I have reset his password to 'resetmeplease' but when he goes to Change password the following error comes up after entering the previous password (resetmeplease) and chosen a new password.
STEARsoft: Old Password not validated
The password you gave to encrypt the data was not validated. Please press the BACK button on your Browser and try again, or click Continue to return to the main page. |
Marcus Butler (STEARsoft) 24 November 2014 19:42 |
Dear Mark,
That indicates he's not entering 'resetmeplease' correctly. Could you please sit with him to go through this. Be aware that usernames and passwords are case sensitive. Also make sure he's not adding any spaces and is in the correct screen.
Alternatively you could use the new 'password reset' system and send him the details that generates.
Yours,
Marcus |
Mark Fertig 24 November 2014 20:08 |
Please visit http://screencast-o-matic.com/watch/c2XZYjeYwa |
Marcus Butler (STEARsoft) 24 November 2014 20:44 |
Mark,
Sorry, my policies are not letting me watch this. That website wants unrestricted access to my computer! What does it show? Have you now verified the problem yourself?
Yours,
Marcus |
Mark Fertig 24 November 2014 21:06 |
Never mind. I change the username - set password - change the password - login as teacher (using password successfully - change password - enter correct resetted password and the error above doesn't allow the change! The password has been typed correctly. |
Marcus Butler (STEARsoft) 24 November 2014 21:26 |
Understood. That sounds odd and frustrating. I've gone through that process here and all is fine so there must be some dependency causing this... I wonder if the username is an issue. Do you mind saying what username you're changing to?
Marcus. |
Mark Fertig 24 November 2014 22:13 |
From 'along' to 'alongshaw' |
Mark Fertig 24 November 2014 22:21 |
http://1drv.ms/1HDCoqN - Microsoft OneDrive link to the screen recording |
Marcus Butler (STEARsoft) 24 November 2014 22:51 |
Seen, Thanks. Very odd. I try exactly the same and it works here... I'd remove your recording from onedrive and screencast now. I'll have a think about this as I sleep.
Yours,
Marcus. |
Marcus Butler (STEARsoft) 24 November 2014 23:16 |
Mark,
I've noticed that it jumps to 'set temporary admin access password' just as you press the 'Authenticate and send' button. This would explain the behaviour. Any ideas why that jumps like that? Could you have a play looking at that in particular. I can't get that behaviour repeated on my browser.
Many thanks for your patience.
Yours,
Marcus |
Mark Fertig 25 November 2014 15:54 |
Marcus, I have tried all the browsers installed on the network (Chrome, Firefox IE) and I cannot visually see the jump being made in any (apart from Chrome). I have also tried this morning on my iPhone - which gives the same error. |
Marcus Butler (STEARsoft) 25 November 2014 20:05 |
Mmmm. Sounds like the 'jump' was a red-herring. Sorry. All a bit puzzling. If you're willing to try and get to the bottom of this with me here are a few more questions: 1) Have you tried changing the password on another user (without changing their log-in name). Does that work? You could create a new test user for this to avoid upsetting an existing user. 2) If 1 worked, can you change their log-in name and see if that stops it working. 3) Perhaps try a different temporary password. 4) Can you please try the new password resetting button to see if that works. 5) If the problem is still not resolved, try stopping the STEARserver and restarting it again...
Thank you for your further patience.
Yours,
Marcus |
Mark Fertig 25 November 2014 21:07 |
1) Have tried on both a Power Teacher, and a 'Teacher' account and same error is showing. Have also created 2 new test accounts, one PT and one normal T, same error. 2) N/A 3) Tried - same error 4) Same error 5) Same error
Sorry if that is no help to you!
M. |
Marcus Butler (STEARsoft) 25 November 2014 21:26 |
6) What about a working user account, and just trying to change the password within the teacher session (no admin intervention)? Presumably going to be the same error?
Marcus |
Mark Fertig 25 November 2014 21:28 |
Same error through logging as teacher and using 'Change password' |
Marcus Butler (STEARsoft) 25 November 2014 21:52 |
OK. So it looks like the 'change password' functionality has simply broken for you. Probably nothing to do with changing username. I presume this used to work for you?
Two thoughts: I don't suppose you've tinkered around with any of the .js files (I notice that you've done some customising...) In particular if md5.js has been tampered with that could break this. I'm guessing not, but I mention it just in case...
The other thing would be to 'view source' of the change-login web page in the teacher section. Right at the bottom of the html source, 4 or 5 lines up (from the bottom) you should see a line containing: input type=hidden name=username value="-the teacher username-" Could you please verify that the value on this line is the correct username for the teacher account in question...
If these don't give any clues then I'm getting a bit stumped... I'd possibly suspect a browser problem (maybe blocking some javascript, or interpretting javascript in a non-standard way), but you say you've tested in 4 different browsers... I'm then to trying a reinstall (over the top, or on a separate computer) - I don't suppose you have any of your previous installs...
Yours,
Marcus |
Marcus Butler (STEARsoft) 25 November 2014 21:54 |
The other thing you could do if you're familiar with such things would be to put your browser into developer mode to see if it's throwing up any javascript errors on the change-password page.
Marcus |
Mark Fertig 25 November 2014 22:00 |
The username has changed fine. I'm not familiar with .js, and I understand that Sam only customised the .gif files (I can double check with him in the morning).
I have lost remote connection from the PC in the IT Office, so will have to check in the morning to check the source. |
Marcus Butler (STEARsoft) 25 November 2014 22:25 |
Sorry, my first question was meant to ask if the 'change password' functionality used to work for you?
Marcus |
Mark Fertig 25 November 2014 22:33 |
Yes - used to work as far as I am aware - nobody has reported any errors to me.
Also, another quick suggestion to have 'My threads' on the Support page, instead of having to find the correct thread! Would make life so much easier! |
Mark Fertig 26 November 2014 16:06 |
Sam has confirmed that he hasn't touched the .js files. The sources are exactly the same as above.
Sorry if this doesn't help,
Mark |
Marcus Butler (STEARsoft) 27 November 2014 08:46 |
Mark,
I'm at a bit of a loss on other easy things to try. Are you able to install on another computer (keeping the current one as live and active)? If so, verify that creating a teacher account and changing the password works. Then stop the servers and copy across the data directory (and start the servers again). Being careful to ensure you're accessing the new install see if it works. Report your findings.
Yours,
Marcus |
Mark Fertig 27 November 2014 18:11 |
Hi Marcus, I have tried installing STEARsoft on my laptop, however I don't have the permissions to do this without IT, who are now off until Monday (typical!)
I have also tried to think out the box and do a restore from one of the backups, but no luck there.
Thanks for your continued help, Mark. |
Marcus Butler (STEARsoft) 27 November 2014 18:30 |
Ok. Maybe wait until Monday. Be aware you'll need Administrator rights on your laptop to stop and start the server too.
Yours,
Marcus |
Mark Fertig 01 December 2014 17:22 |
Hi Marcus, I have tried uninstalling STEARsoft off of the Server PC and reinstalling then copying the data files back across, but no luck. Mark |
Marcus Butler (STEARsoft) 01 December 2014 18:36 |
Hi Mark,
Sorry, this is dragging on... An important part of the test was to see if it worked on a new install before copying across the data files. That would indicate whether it's a data induced problem or a network/PC problem. As mentioned above this will require creating a new teacher account on the fresh install.
Yours,
Marcus |
Mark Fertig 01 December 2014 18:53 |
Thanks - will do now. Also, another suggestion. Is there a possibility of having an 'Import Teachers' function, like for 'Importing students'? Regards, Mark |
Marcus Butler (STEARsoft) 01 December 2014 22:22 |
Thanks for the suggestion. In case it's of interest, ODBC can be used to import teachers without needing to use all the other import features.
Marcus |
Marcus Butler (STEARsoft) 09 December 2014 21:12 |
Did you get anywhere on the failing password change? Has it started working again?
Yours,
Marcus |
Mark Fertig 09 December 2014 21:16 |
Sorry, I thought I had replied!
Yes, it worked on my laptop on a fresh PC. I then tried copying data files across, but no luck, it is failing again.
Mark |
Marcus Butler (STEARsoft) 09 December 2014 22:17 |
Thanks Mark,
That would indicate there's something in the data files causing this...
The following process should surround what I will describe in a moment:
1) Stop the server (Using the STEAR Administrator program) 2) Do the action 3) Start the server again 4) See if it works or not
Try these actions with that process (on your laptop this is). As soon as you get a failure, no need to continue, just report back the details.
1) Rename the data directory to something like data-original. This will cause a new data directory to be created and things to start from scratch. Check you can create a teacher account and still change the password ok.
2) Again within the 4 steps copy the db-adminnameval.csv file across (from your data-original directory to the new 'data' directory - overwrite the existing file). Try changing the password again of the teacher account you made in step 1.
3) Copy across the db-user.csv file too. This will now have your original teacher accounts. Try changing the password on any teacher account.
I'm anticipating it to fail at one of those points, which will narrow down where the problem lies considerably.
Thanks for your continued patience.
Yours,
Marcus |
Mark Fertig 16 December 2014 19:21 |
Hi Marcus, I have just tried the process on another laptop, with the same server and changes the username fine! I am wondering if that jump was creating the problem on my laptop? Have a good Christmas, and best wishes for the new year - Mark. |
Marcus Butler (STEARsoft) 16 December 2014 20:09 |
Thanks for getting back to me on this Mark. Obviously let me know if the problem shows itself again. Sounds a bit odd really.
Yes, Happy Christmas and New Year.
Marcus |