Answer the question
In order to leave comments, you need to log in
How to fix BX is not defined in admin panel?
On the element editing page (iblock_element_edit) in the console, errors "BX is not defined" are thrown.
If for the public part I found a solution with the JSCore connection, then for the admin panel the same thing does not work. I tried to push CJSCore::init to different places, like prolog_admin_before, init.php, header.php for admin, but it still doesn't help.
Moreover, after loading the page in the browser console, BX is completely defined and has all its properties and methods.
I cleared the cache, checked dbconn, etc. for encodings and extra characters.
Can you tell me where can I check?
Screenshot just in case
i.imgur.com/VU9McHq.png
Answer the question
In order to leave comments, you need to log in
well if
after loading the page in the browser console, BX is quite self-defined, it seems to me it is necessary to deal with where and how it is called. Why does someone pull it BEFORE downloading the bible?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question