Welcome, Guest
Username: Password: Remember me

TOPIC: Admin Password reset for v1.91

Admin Password reset for v1.91 11 months 1 day ago #99251

  • dgoa2011
  • dgoa2011's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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.
The administrator has disabled public write access.

Admin Password reset for v1.91 11 months 1 day ago #99254

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
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

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image