Answer the question
In order to leave comments, you need to log in
MODX admin panel not opening after installing SSL. What to do?
MODX Revolution 2.2.6
We decided to install ssl on the site.
I asked the host to connect the certificate. I did not make any preliminary settings in the site panel, I already understood that I had to act according to instructions like https://wiki.hostpro.ua/knowledgebase/https-modx/ . I hurried, did not investigate the issue, never worked with ModX/PHP.
As a result, after connecting:
1) the admin panel page gives an error 500
2) the site on all mobile devices opens via https, on different desktops or via http, or via https.
3) some content such as carousels with sliders, menu links, content of some sections does not open.
There are two error logs:
[2020-12-04 13:27:28] (ERROR in xPDOConnection::connect @ /home/www/sitename/www/core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2002] Нет такого файла или каталога
[2020-12-04 13:27:28] (ERROR @ /index.php) Error preparing statement for query: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `modx_session` AS `modSession` WHERE `modSession`.`id` = ? -
Answer the question
In order to leave comments, you need to log in
did you delete the core/cache folder?
You don’t need to edit any configs, only 2 settings are edited in the modx admin panel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question