E
E
exedis2016-10-13 10:02:40
CMS
exedis, 2016-10-13 10:02:40

Why does the page just reload when I enter the correct password?

Hello, I transferred the site from the local server to the hosting, now when I enter the wrong password, it says that the password was entered incorrectly, etc. and when you enter the correct one, it simply reloads the page . Tried resetting the password, didn't help. Site on modx revo 2.5.1 hosted by majordomo.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
exedis, 2016-10-25
@exedis

Upd. Found a solution! in the hosting control panel, find the nginx settings and turn off css and js.

D
display: block, 2016-10-13
@qork

1. Disable caching:
Open the file /core/cache/system_settings/config.cache.php
line 'compress_js' => '1', change to 'compress_js' => '0',
line 'compress_css' => '1', change to 'compress_css' => '0′,
then when the admin panel is loaded, go to System->Settings and enter compress in the search, several items will be displayed, we need to set compress_js and compress_css to No
2. If it doesn’t help clean the core / cache
3. If it doesn't help, disable caching in nginx (if any)
4. Just in case, check all file permissions.
5. If this did not help, backup the database and files, deploy everything on a new hosting, check. If we work, we start looking for problems on our hosting.

https://modx.ru/vopros-otvet/info/1990/

F
frostic, 2019-05-11
@frostic

Ну вот по работе столкнулся - MODx v2.7.1 (на 11 мая 2019) - та же проблема.
Ковырнул. Вывод: нипричем тут ни compress_js ни все вышеперечисленное с кешем во главе
Данная проблема повяляется в MODx именно после включения переадресации (например с www на без и с hhtp на https ) в htaccess и особенно это проявляется если директория core была перенесена
Проверяется легко: переименовываете htaccess в корне на чтонибудь типа ht.access и пробуете входить. Если перезагрузка страницы входа прекратилась - значит это оно.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question