A
A
Andrey Baranichenko2014-04-05 16:29:34
MODX
Andrey Baranichenko, 2014-04-05 16:29:34

How to restore the MODX REVO admin panel?

I transferred the site from local to the host, there were a lot of troubles in general, the site was someone else's, I transferred something from two sources to finish the little things, well, in general, I launched it through the installation (advanced update) there was no admin (only the upper part) .... decided cache change problem

/core/cache/system_settings/config.cache.php
строку ‘compress_js’ => ’1′, меняем на ’compress_js’ => ’0′,
строку ‘compress_css’ => ’1′, меняем на ’compress_css’ => ’0′

Everything worked, in the system settings I changed the compression to 0, now in the cache
/core/cache/system_settings/config.cache.php
строка  ’compress_js’ => ’0′,
строка  ’compress_css’ => ’0′

And everything would be fine, we lived happily with her for several hours, but I changed the password, left the admin panel, I go in and - woe to me! everything disappeared again. O_o...
Everything is the same in the cache
/core/cache/system_settings/config.cache.php
строка  ’compress_js’ => ’0′,
строка  ’compress_css’ => ’0′

browser in admin says:
Failed to load resource: the server responded with a status of 401 (Not Authorized) http://my_domen.ru/connectors/lang.js.php?ctx=mgr&topic=topmenu,file,resource,welcome,configcheck,ace:default,gallery:default&action=
Uncaught ReferenceError: _ is not defined modx.tree.directory.js:810
Uncaught ReferenceError: _ is not defined modx.localization.js:5
Uncaught TypeError: Cannot read property 'id' of undefined modx.js:816
Uncaught ReferenceError: _ is not defined modx.grid.user.recent.resource.js:12

Help!!! What else does he need? how to start it (admin panel)?
Z.Y.
Do not offer to clean browser caches, nothing works ((

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
housequake, 2015-10-28
@housequake

the problem can also be that they forget to write the path in the file /connectors/config.core.php

I
Ivan Shabanov, 2017-04-12
@ivanshabanov

Check if there is a redirect of the main site to www or without www.
Be sure to log in to the admin panel in the same way as configured on the site through www or without www.
It helped me.
It's strange for some reason when you enter the admin panel, it doesn't automatically redirect the way it is configured for the site and, accordingly, the admin panel cannot pull up resources from another domain.

P
paa79, 2022-03-23
@paa79

I had the same problem, because the site was set to www, but I went to the admin panel without www. To automatically redirect to www, you need to comment out the RewriteEngine Off line in /manager/.htaccess, apparently it blocked the global php redirect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question