• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 06.12.20, 22:28
  • Opened by: Erkan Yilmaz
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20125 - Page keeps loading

Hi,

As you see in the attachement, homepage keeps loading but nothing happens … how can it be solved? You can find the credentials back in my profile of back-office. The website is online now: https://snupsie.be

With kind regards, Erkan.

Comments

Erkan Yilmaz 06 Dec 2020, 22:32

See the other screenshot

Attachments:

Screenshot from 2020-12-06 22... (594.9 KiB)
Erkan Yilmaz 07 Dec 2020, 09:47

See following files …

Attachments:

image0.jpeg (305.9 KiB)
Video.mov (428.9 KiB)
Fred 07 Dec 2020, 09:51

Hi, Erkan
As I can see your website works fine for me https://take.ms/FrBvW

Erkan Yilmaz 07 Dec 2020, 10:30

Hi Fred,

Yesterday I got a lot of complaints about website is not loading: black spinning wheel keeps spinning, even after refressing. I noticed that too … I also tried and my customer has right: mainly the loading issue appears on Apple devices: iPhones and iPad. The picture I took it was on newest device of Apple.

Erkan Yilmaz 07 Dec 2020, 10:36

Even in FF keeps loading … see attachement

Attachments:

3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
3FayRDeyvFHKNuCa-croppedlGTOb... (313.5 KiB)
Fred 07 Dec 2020, 10:37

Ok I see. Go to Theme Settings → General tab and disable page loader option

Erkan Yilmaz 07 Dec 2020, 13:21

And what about this? Sometimes I and customers get this too!

Attachments:

image1.jpeg (1.98 MiB)
Fred 07 Dec 2020, 14:45

Ho to see that? I don’t see such problems

Erkan Yilmaz 07 Dec 2020, 15:01

I don’t know … but they are images I get from my client. And I also got that yesterday. Even refreshing the page, it didn’t help. It happens sometimes but not always. Now I’ve changed the caching type to file caching. Hopefully it will run better.
Weird!

With kind regards, Erkan

Fred 07 Dec 2020, 15:44

But do you see the same issue? Because I don’t

Erkan Yilmaz 07 Dec 2020, 19:26

Yes, I just took a screenshot in FF. See attachment, please. It seems to happen when you visit the site for the first time or has cleared the history of your browser. After reload it normalizes. But this isn’t the situation we desire … With kind regards, Erkan

Attachments:

Screenshot from 2020-12-07 19... (1.15 MiB)
Erkan Yilmaz 08 Dec 2020, 11:08

Hi,

I think I found the issue: the source code of jquery-1.10.min.js wasn’t loading. I checked the source code and indeed, it wasn’t loaded. I added “<script src=”/js/jquery/jquery-1.11.0.min.js”></script>” in javascript.tpl of your theme.
Like this:

<script src=”/js/jquery/jquery-1.11.0.min.js”></script> «« THIS IS ADDED
{foreach $javascript.external as $js}
<script src=”{$js.uri}” {if !$js.attribute}defer{else}{$js.attribute}{/if}></script>
{/foreach}
{foreach $javascript.inline as $js}
<script async> {$js.content nofilter}</script>
{/foreach}
{if isset($vars) && $vars|@count}
<script async> {foreach from=$vars key=var_name item=var_value} var {$var_name} = {$var_value|json_encode nofilter}; {/foreach}</script>
{/if}

Most of the scripts were asking ‘$’ and it referred to jquery-file. After adding that line it seems to work now, provisionally.
With kind regards, Erkan

Fred 08 Dec 2020, 11:12

I just removed that code, now all seems works fine

Erkan Yilmaz 08 Dec 2020, 11:35

No no no, after adding “<script src=”/js/jquery/jquery-1.11.0.min.js”></script>” it works fine. When you delete that line and after clearing cache, I’ve the same issue. I’ve added it back en cleared cache. NOW, it works fine. Please do not delete anything! ;-)

With kind regards, Erkan

Fred 08 Dec 2020, 11:42

ok

Erkan Yilmaz 08 Dec 2020, 20:23

Hi,

It’s still broken. I thought I found the issue but it isn’t. Please check the screenshot. It’s day 3 and we still having the same issue. I even tried the recommended settings, the webshop doesn’t work no longer at all. I got server error 500. After that I changed back to php version 7.2.x. … we are getting really tired now to get the layout correctly.

When I check in the console of my browser I get following message:
Source map error: Error: request failed with status 404
Resource URL: https://snupsie.be/themes/core.js Source Map URL: core.js.map

When I want to check the core.js.map, it seems to be missing. Could it affecting the lay-out?
with kind regards, Erkan

Attachments:

Screenshot from 2020-12-08 20... (1.15 MiB)
Screenshot from 2020-12-08 20... (205.8 KiB)
Fred 09 Dec 2020, 11:13

1. Please try now, the header should be fixed
2. This file https://snupsie.be/themes/core.js is a part of prestashop, but not of the theme. And you can ignore that warning it seems appears in Safari browser only.

Erkan Yilmaz 09 Dec 2020, 12:19

Thank you. But it appeared not only in Safari but also in FF and Chrome.
I’m going to check it later.

Erkan Yilmaz 09 Dec 2020, 15:01

Hi Fred,

Homepage seems to be ok but when I navigate further the same issue: https://snupsie.be/25-bibs Even after refreshing it stay as in the attachement. This is a screenshot in Chrome

Attachments:

Screenshot from 2020-12-09 14... (217.9 KiB)
Fred 10 Dec 2020, 13:06

I just added one more correction, please check it out. For me all looks fine

Erkan Yilmaz 10 Dec 2020, 17:11

Can you tell me what you’ve changed? I’m going to take notes for in the future when it happens again after an update or something else.

With kind regards, Erkan

Fred 11 Dec 2020, 13:10

I just updated the file
/modules/pkheaderitems/pkheaderitems.php

Erkan Yilmaz 11 Dec 2020, 16:11

Oh, thank you. It seems to work much better now.

With kind regards, Erkan.

Fred 11 Dec 2020, 16:15

you are welcome