Y
Y
Yuri Shchegolikhin2018-05-17 01:46:40
MODX
Yuri Shchegolikhin, 2018-05-17 01:46:40

Modx is not included in the admin panel, how to fix it?

I forgot my password and login from the site.
I logged in using phpMyAdmin, copied the user and entered the login and password others
In the md5 password field and entered the password in the next line
After clicking on the link sire.ru/manager
, the login panel opens to enter the login and password,
I enter
further immediately throws me at the error 500
how to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2018-05-17
@DarkRaven

Have you reset your password for this post?
https://docs.modx.com/revolution/2.x/administering...
I have used it many times, it always helped. Just check the phpmyadmin entry to see if it matches what you want.
Note that there are different ways for different modx versions. If for 2.1 and above is used

UPDATE modx_users SET hash_class = 'hashing.modMD5', password = MD5('the-new-password') WHERE username = 'theusername';
,
then for 2.0.x you need to use
UPDATE modx_users SET password = MD5('the-new-password') WHERE username = 'theusername';
.
In addition, there is an example with the API, which you can also try. From myself, I would recommend checking the logs, and also clearing the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question