Проблемы с MIGX. Ошибка 500
Здравствуйте.
Примерно с неделю назад в MODX случился какой-то баг. Без каких-либо предварительных действий перестал авторизовывать пользователя admin, ссылаясь на неправильный пароль. Изменения в базе данных приводили к тому же результату, письма на почту не приходили.
Почистили salt, session и unblock в таблице modx_users, почистили кеш, задали новый пароль через базу — и проблема решилась. Но после авторизации — не работают поля MIGX. Вернее, код сниппетов отрабатывает на сайте, и в админке таблицу видно (частично), но при добавлении или редактировании элементов MIGX — загружается пустое окошко с бесконечным Loading.
Если перейти в верхнем меню (там где установщик) в раздел MIGX, то выдает Ошибка. Код 500.
Переустановка MIGX ничего не решила.
Логи показывают вот что:
[2021-06-23 19:37:51] (ERROR in modMenu::getSubMenus @ /public_html/core/model/modx/modmenu.class.php: 148) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace tagger to the routing based system.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:38] (ERROR in modMenu::getSubMenus @ /public_html/core/model/modx/modmenu.class.php: 148) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace tagger to the routing based system.
[2021-06-23 19:56:50] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:44] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:44] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
Примерно с неделю назад в MODX случился какой-то баг. Без каких-либо предварительных действий перестал авторизовывать пользователя admin, ссылаясь на неправильный пароль. Изменения в базе данных приводили к тому же результату, письма на почту не приходили.
Почистили salt, session и unblock в таблице modx_users, почистили кеш, задали новый пароль через базу — и проблема решилась. Но после авторизации — не работают поля MIGX. Вернее, код сниппетов отрабатывает на сайте, и в админке таблицу видно (частично), но при добавлении или редактировании элементов MIGX — загружается пустое окошко с бесконечным Loading.
Если перейти в верхнем меню (там где установщик) в раздел MIGX, то выдает Ошибка. Код 500.
Переустановка MIGX ничего не решила.
[2021-06-23 19:37:51] (ERROR in modMenu::getSubMenus @ /public_html/core/model/modx/modmenu.class.php: 148) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace tagger to the routing based system.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:01] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:49:38] (ERROR in modMenu::getSubMenus @ /public_html/core/model/modx/modmenu.class.php: 148) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace tagger to the routing based system.
[2021-06-23 19:56:50] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:56:50] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:16] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:44] (ERROR in xPDO::getService @ /public_html/core/xpdo/xpdo.class.php: 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-06-23 19:57:44] (ERROR in modRestCurlClient::__construct @ /public_html/core/model/modx/rest/modrestcurlclient.class.php: 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
Комментарии: 5
Данный лог к делу не относится. Отображение этого уведомления можно отключить системной настройкой log_deprecated (подробнее если интересно можно почитать тут — Dealing with deprecation notices in MODX 2.7).
Если перейти в верхнем меню (там где установщик) в раздел MIGX, то выдает Ошибка. Код 500.500ю ошибку нужно смотреть в серверном error.log. Также не будет лишним узнать конфигурацию, версия MODX, PHP?
MODX Revolution 2.8.1-pl
PHP 7.1.
PHP 7.1.
Попробуйте обновить движок до актуальной 2.8.3. Версию php можно поднять до 7.4.
Серверный лог посмотрели, какие там записи есть?
Серверный лог посмотрели, какие там записи есть?
Спасибо! Это помогло!
Проверьте наличие свободного места на сервере
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.