Magento2 site is not loading properly

I have Magento2 site. When I load first time in the browser it's not loading.
Complete and show javascript error in the console but when I refresh, it shows correct? What is the issue in Magento 2
magento2 php javascript console
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 2 more comments

I have Magento2 site. When I load first time in the browser it's not loading.
Complete and show javascript error in the console but when I refresh, it shows correct? What is the issue in Magento 2
magento2 php javascript console
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39
|
show 2 more comments

I have Magento2 site. When I load first time in the browser it's not loading.
Complete and show javascript error in the console but when I refresh, it shows correct? What is the issue in Magento 2
magento2 php javascript console

I have Magento2 site. When I load first time in the browser it's not loading.
Complete and show javascript error in the console but when I refresh, it shows correct? What is the issue in Magento 2
magento2 php javascript console
magento2 php javascript console
edited Jan 5 '18 at 11:24
Teja Bhagavan Kollepara
2,94841847
2,94841847
asked Aug 11 '16 at 9:08
imtiazimtiaz
639
639
bumped to the homepage by Community♦ 4 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♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39
|
show 2 more comments
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39
|
show 2 more comments
1 Answer
1
active
oldest
votes
Last error solution:-
Uncaught TypeError: Cannot read property 'timepicker' of undefined
means that
$.ui
is undefined. So, you probably have not included jQuery UI.
Try to include it before any of your scripts (except jQuery itself).
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
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%2f130968%2fmagento2-site-is-not-loading-properly%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
Last error solution:-
Uncaught TypeError: Cannot read property 'timepicker' of undefined
means that
$.ui
is undefined. So, you probably have not included jQuery UI.
Try to include it before any of your scripts (except jQuery itself).
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
add a comment |
Last error solution:-
Uncaught TypeError: Cannot read property 'timepicker' of undefined
means that
$.ui
is undefined. So, you probably have not included jQuery UI.
Try to include it before any of your scripts (except jQuery itself).
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
add a comment |
Last error solution:-
Uncaught TypeError: Cannot read property 'timepicker' of undefined
means that
$.ui
is undefined. So, you probably have not included jQuery UI.
Try to include it before any of your scripts (except jQuery itself).
Last error solution:-
Uncaught TypeError: Cannot read property 'timepicker' of undefined
means that
$.ui
is undefined. So, you probably have not included jQuery UI.
Try to include it before any of your scripts (except jQuery itself).
edited Sep 28 '17 at 9:35
Manoj Deswal
4,28581743
4,28581743
answered Aug 11 '16 at 9:28
ArjunArjun
1,848725
1,848725
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
add a comment |
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
ok but when i refresh its work
– imtiaz
Aug 11 '16 at 9:31
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
@Arjun I am facing same issue so where can i include jQuery file in my website?
– Chintan Kaneriya
Aug 17 '18 at 10:44
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%2f130968%2fmagento2-site-is-not-loading-properly%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
Can you provide the javascript error screenshot.
– Arjun
Aug 11 '16 at 9:18
thank arjun please check now these error come when i upload site first time but when i refresh this error not come and site work properly
– imtiaz
Aug 11 '16 at 9:22
Are you facing these after 1st installation of magento2. The admin and frontend goes blank and shows error then follow this link and my answer over there magento.stackexchange.com/questions/130920/…
– Arjun
Aug 11 '16 at 9:34
no no all is set it not first time it happen always when i run on new browser
– imtiaz
Aug 11 '16 at 9:36
you can try it by either updating the browser version. Before that try to clear your browser cache and magento cache.
– Arjun
Aug 11 '16 at 9:39