GetSimple Support Forum
admin user reset password does not work - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: admin user reset password does not work (/showthread.php?tid=3595)



admin user reset password does not work - gwcheck - 2012-09-25

hi,

i try to reset the admin user, and it does send me new password, yet that password does not work. then i try again, in a loop, etc. etc.

is there a way to install a default admin user? edit or create a <user>.xml file in the user dir.

???

Gert
GWCheck


admin user reset password does not work - gwcheck - 2012-09-25

uploaded debug.php, does not show.
login seems to go but redirect after goes back to login screen.


admin user reset password does not work - shovenose - 2012-09-25

Please uncomment line 31 in gsconfig.php:
Quote:#define('GSDEBUG', TRUE);
By removing the #
That will put you in debug mode. Are you getting any errors?
Also, do you have cookies and cache enabled in your browser?


admin user reset password does not work - gwcheck - 2012-09-25

i turned on debug

when typing the user and password i get in the url input field from the browser

notice:%20Undefined%20index:%20QUERY_STRING%20in%20/hermes/bosweb/web039/b390/ipg.gwcheckorg/cms/admin/index.php%20on%20line%2029/cms/admin/index.php?


admin user reset password does not work - gwcheck - 2012-09-25

if debug is off
the index redirects to http://gwcheck.org/cms/admin/index.php?redirect=/cms/admin/pages.php but I guess the gert user does not have rights there so the login comes back.

does that help?


admin user reset password does not work - shawn_a - 2012-09-25

The notice is just a notice, it shouldn't be causing any issues.

So you say it sends you a new password but it doesn't work ?

Do you have a GSLOGINSALT set in your config ?

You should be able to generate a new password and manually edit your user file.
But the password is not plain text.

I wonder if its possible the reset isn't writing the user file properly.

http://get-simple.info/wiki/how_to:change_admin_password_salted?s[]=password


admin user reset password does not work - shawn_a - 2012-09-25

Ok try this.

Comment out your loginsalt in your gsconfig

Edit your user.xml and chanfge the password to a sha1 hashed password.

5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 = "password"

Login with your new password "password"

Then maybe you can figure out whats going on.


admin user reset password does not work - gwcheck - 2012-09-25

i disabled tide_news, TIDEGetSimple and user_management plugins, reset the password like you suggested, and can login again. tnx. its not clear how or what but i am back in business.

question which goes before this: is tide_news a better news/blog solution than news_manager? i was looking for a way to run multiple blogs independent to one another, hence not having to install GetSimple for every blog.


admin user reset password does not work - shovenose - 2012-09-26

I'm having the same issue, it's not working at all.
http://WEBSITE/admin/index.php?redirect=/admin/pages.php is where it sends me but then I end up back at the login page.
Reset password isn't working.
My site is here:
http://michelstaake.me/


admin user reset password does not work - n00dles101 - 2012-09-26

looks like there is a typo in resetpassword.php

LIne 28 : $file = _id($_POST['username']).'.xml';

it should read
Code:
$file = $_POST['username'].'.xml';

Could you change this and confirm this is the problem and I'll update the SVN


admin user reset password does not work - shawn_a - 2012-09-27

hmm, how long has this been an issue.


admin user reset password does not work - sticker - 2012-10-03

Replaced the line and it's not telling me I can't reset my password - but it is not sending the email



n00dles101 Wrote:looks like there is a typo in resetpassword.php

LIne 28 : $file = _id($_POST['username']).'.xml';

it should read
Code:
$file = $_POST['username'].'.xml';

Could you change this and confirm this is the problem and I'll update the SVN



admin user reset password does not work - sticker - 2012-10-05

I followed a thread through to the wiki about salting the gsconfig.php file, - did what it said and changed the password per the instructions, logged out and was able to log in again.

http://get-simple.info/wiki/how_to:change_admin_password_salted