reset admin pasword

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jubgmbh
New Member
New Member
Posts: 4
Joined: Sun Mar 29, 2020 11:55 am

reset admin pasword

Post by jubgmbh »

Hi,
I forgot my admin PW. So I requested a reset mail but I don´t receive a mail to reset the PW on none of my email accounts.
What can I do?
BR Uwe
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: reset admin pasword

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jubgmbh
New Member
New Member
Posts: 4
Joined: Sun Mar 29, 2020 11:55 am

Re: reset admin pasword

Post by jubgmbh »

Tanks for the link. It was good for understanding.
I changed my PW directly in the db but it still doesn´t work. Is the encrption method MD5?
BR Uwe
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: reset admin pasword

Post by Rolf »

No, it is not! You need to use the script provided in the tutorial.

I looked at your website, be sure you first fix any mixed content issue when using SSL.

grtz. Rolf


ps. https://cmscanbesimple.org/blog/setting ... ade-simple
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jubgmbh
New Member
New Member
Posts: 4
Joined: Sun Mar 29, 2020 11:55 am

Re: reset admin pasword

Post by jubgmbh »

Thanks Rolf,

I will try later today or tomorrow.
BR Uwe
jubgmbh
New Member
New Member
Posts: 4
Joined: Sun Mar 29, 2020 11:55 am

Re: reset admin pasword

Post by jubgmbh »

Hi,
I tried to use your script.
Unfortunatly is doesn´t run. I changed the tabel names to my table names and die values to my values.
But I get syntax errors what is strange. This appears already when I just copy your command into the SQL field of phpMyAdmin.
eg: unrecognized keyword at "set password", unexpected sign at "=", unexpected sign at "(" and some other.
Any idea?
BR Uwe
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: reset admin pasword

Post by velden »

Put backticks around password

Code: Select all

update cms_users set `password` = (select md5(CONCAT(IFNULL((SELECT sitepref_value FROM cms_siteprefs WHERE sitepref_name = 'sitemask'),''),'NEW_PASSWORD'))) where username = 'USER_NAME'
Post Reply

Return to “CMSMS Core”