Hi all amazing Magento-devs,
When I enter into my Magento admin panel ALL buttons are not-clickable. Nothing happeneswhen I try to click on different buttons.
I have tried cleaning cache and flush cache through Putty and also I have done the static:compile command. But no result, I cannot still click anywhere.
Any idea? Have you met this issue before?
Typically, you’ll find that you can’t click on a button because there has been an error whilst the page was rendering. Therefore, the page doesn’t finish loading and you can’t interact with everything.
These issues can occur after making a change to Magento (e.g. installing, updating, removing a module).
You should open Chrome Inspect Element (F12), select the Console tab and hit Refresh. The console will provide you with a hint as to why the page isn’t rendering correctly.
You probably won’t understand the issue. But the trick is to look for words and references that may point you in the right direction. Sometimes, this can be a line of code or a filename located in a folder.
Thanks Craig, I followed your advice and I got nooo idea what this line or words mean
Hope you can help me:
(index):8 Uncaught SyntaxError: Invalid or unexpected token
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/jquery.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/mage/backend/bootstrap.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: mage/backend/bootstrap
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/js/theme.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: js/theme
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/mage/adminhtml/globals.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: mage/adminhtml/globals
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/Magento_Ui/js/modal/confirm.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: Magento_Ui/js/modal/confirm
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/mage/adminhtml/grid.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: mage/adminhtml/grid
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/Magento_Catalog/catalog/product.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: Magento_Catalog/catalog/product
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
(index):1 Refused to execute script from 'https://magent-5277.bolt54.servebolt.com/admin_tpnqng/admin/dashboard/index/key/73210bd4c342da8fac6f31e8bdba6df16f653cf26ac903dff66bb974417f4b14/mage/backend/tabs.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
require.js:141 Uncaught Error: Script error for: mage/backend/tabs
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
Not this exact issue. I have had similar issues, but they were related to modules that I’d installed or broke. I was able to narrow down where the issue was using the Console trick I mentioned before. Obviously, in your case the answer is not so obvious by the error message.
The next avenue of investigation would be:
Does the issue persist in Developer Mode?
What do the error logs say? (exception.log/system.log)
Bare in mind that the error will only be logged when you try to load an Admin page. This will help narrow down the log entries. So, just refresh the page whilst watching the logs or something to that effect.