Magento 2.2.1 Checkout page broken and Js fail to load error
I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors:
Not sure how to resolve this issue. Need help how can this be resolved.
How can i trace it?
magento2 checkout javascript magento2.2 jquery
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors:
Not sure how to resolve this issue. Need help how can this be resolved.
How can i trace it?
magento2 checkout javascript magento2.2 jquery
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
Yes already did
– jack
Dec 23 '17 at 5:23
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09
add a comment |
I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors:
Not sure how to resolve this issue. Need help how can this be resolved.
How can i trace it?
magento2 checkout javascript magento2.2 jquery
I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors:
Not sure how to resolve this issue. Need help how can this be resolved.
How can i trace it?
magento2 checkout javascript magento2.2 jquery
magento2 checkout javascript magento2.2 jquery
edited Mar 17 '18 at 11:09
Teja Bhagavan Kollepara
2,94841847
2,94841847
asked Dec 22 '17 at 6:43
jackjack
451719
451719
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
Yes already did
– jack
Dec 23 '17 at 5:23
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09
add a comment |
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
Yes already did
– jack
Dec 23 '17 at 5:23
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
Yes already did
– jack
Dec 23 '17 at 5:23
Yes already did
– jack
Dec 23 '17 at 5:23
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09
add a comment |
1 Answer
1
active
oldest
votes
Run this command from command line interface.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f206856%2fmagento-2-2-1-checkout-page-broken-and-js-fail-to-load-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Run this command from command line interface.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
add a comment |
Run this command from command line interface.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
add a comment |
Run this command from command line interface.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Run this command from command line interface.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
answered Dec 22 '17 at 13:37
Dhiren VasoyaDhiren Vasoya
4,24551642
4,24551642
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
add a comment |
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
Did run all the commands but still showing broken checkout page. What could be the issue? i did remove my custom Js but still showing some errors.
– jack
Dec 23 '17 at 5:23
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
can you tell me have you run command for locale you are using?
– Dhiren Vasoya
Dec 23 '17 at 10:49
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
I have multi store so i run command for each store.
– jack
Dec 25 '17 at 6:47
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f206856%2fmagento-2-2-1-checkout-page-broken-and-js-fail-to-load-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If you already done static content deploy then please check by enabling display error in app/bootstrap.php and rename pub/errors/local.xml.sample to local.xml and then clear cache and reload page. When you open page source of checkout page you may see error appears there. It seems some script has been broken while page load.
– Kumar M
Dec 22 '17 at 7:03
Yes already did
– jack
Dec 23 '17 at 5:23
Were you able to resolve this issue? If yes, could you please share? I am facing the exact same problem.
– Sanjay Kumar
Mar 25 '18 at 15:46
@SanjayKumar Yes , to resolve this issue upgraded php to 7.1X, soap extension and did run upgrade, and cache flush command. that resolved my issue.
– jack
Mar 26 '18 at 5:09