Outline ·
[ Standard ] ·
Linear+
Js broken in Backend Magento 2, Issue - Magento 2
|
TSlilypoter
|
Feb 5 2018, 03:24 PM, updated 8y ago
|
New Member
|
After enable merge Js in M2 Backend: Store/Configuration/Advanced/Developer and save config, I can't click any menu buttons in backend. I think that Js is broken and I can't go to Merge Js config and disable it again. Does anyone know how to solve this problem?
|
|
|
|
|
|
petirbuas
|
Feb 5 2018, 03:44 PM
|
|
You may use SQL query to disable it. Or simply use the Magerun on your Terminal CODE magerun config:set dev/js/merge_files 0 magerun config:set dev/js/enable_js_bundling 0 magerun config:set dev/js/minify_files 0 magerun config:set dev/css/merge_css_files 0 magerun config:set dev/css/minify_files 0
Don't forget the clear the respective cache files afterwards. https://magento.stackexchange.com/questions...-css-js-settingBTW this is wrong section for this. Try Codemasters section instead This post has been edited by petirbuas: Feb 5 2018, 03:46 PM
|
|
|
|
|
|
bssgeek303
|
Feb 5 2018, 03:58 PM
|
New Member
|
QUOTE(lilypoter @ Feb 5 2018, 03:24 PM) After enable merge Js in M2 Backend: Store/Configuration/Advanced/Developer and save config, I can't click any menu buttons in backend. I think that Js is broken and I can't go to Merge Js config and disable it again. Does anyone know how to solve this problem? You go to database of Magento 2 site, run this SQL command: SELECT * FROM `core_config_data` WHERE `path` LIKE '%dev%' Change 'dev/js/merge_files' to '0' Then run deploy theme command with SSH to see if it works? Or you can click here for another solution. Best regards.
|
|
|
|
|