Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Admin Password reset for v1.91

Admin Password reset for v1.91 il y a 1 an 3 mois #99251

  • dgoa2011
  • Portrait de dgoa2011
  • Hors ligne
  • Fresh Lemon
  • Messages : 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.
L'administrateur a désactivé l'accès en écriture pour le public.

Admin Password reset for v1.91 il y a 1 an 3 mois #99254

  • Ben_V
  • Portrait de Ben_V
  • Hors ligne
  • Platinum Lime
  • Messages : 1151
  • Remerciements reçus 274
  • Karma: 79
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...
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.112 secondes
Donation Image