Admin Password reset for v1.91

More
3 years 11 months ago #99251 by dgoa2011
dgoa2011 created the topic: Admin Password reset for v1.91
Hi All,

You have probably seen this a load of times but this is driving me mad, I have tried a number of fixes and can't get any of them to work. Can someone help me?

So far I've tried...

placing the install folder back in and using the appropriate URL but the browser just has a blank screen and login still won't when when install folder removed.

I have also tried this fix which is even more frustrating...

1. edit the file admin/usercontrol.php as follow:
find if (SHA256::hash($_POST) == $fields) (in LimeSurvey 1.72 it’s on line 115)
replace it with if(true)

2. now log in using your proper admin login and any password

3. go to user management and edit your password (don’t worry, it won’t ask you to enter your old password)

4. edit admin/usercontrol.php back to normal, i.e. replace:
if(true)
with
if (SHA256::hash($_POST) == $fields)


When I do this i get...
Parse error: syntax error, unexpected '{' in /data02/c9699337/public_html/admin/usercontrol.php on line 154

If i remove the '{' i then get...
Parse error: syntax error, unexpected T_IF in /data02/c9699337/public_html/admin/usercontrol.php on line 156

This continues with different errors every time i try to correct one.

Please Log in to join the conversation.

More
3 years 11 months ago #99254 by Ben_V
Ben_V replied the topic: Admin Password reset for v1.91

placing the install folder back


It means you've tried the process described in the manual ?
(Usually there is no need to edit usercontrol.php file)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now