S
S
Sergey2015-02-13 14:55:45
PHP
Sergey, 2015-02-13 14:55:45

Why doesn't action getToolbar work in modx?

Suddenly, some functions on the site on modx revo stopped working, for example, the toolbar in the resources tab disappeared, there was no recycle bin or other buttons, and the file tree stopped displaying.
Digging through the requests, I noticed that, in particular, the toolbar appears after a post request for the /connectors/resource/index.php file with the action = getToolbar parameter passed, but in response, instead of the toolbar, it receives the error
Notice : Undefined index: action in /docs/core/model/ modx/modconnectorrequest.class.php on line 61
{"success":false,"message":"action_err_ns","total":0,"data":[],"object":{"code":404}}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-02-13
@victorib_us

I solved the problem, somehow it came to my mind suddenly, maybe it will come in handy for someone, the problem is frequent, as I understand it, it was in the htaccess file there was a redirect from the duplicate site.ru/index.php to site.ru as a result, for some reason this affected ajax requests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question