Announcement

Collapse
No announcement yet.

Something is failing to load

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Something is failing to load

    I'm trying to figure out where the javascript errors are coming from. If you look at this page and scroll towards the middle of it, the page goes nuts.

    If I use the Chrome Dev Tools all I get are a kazillion "Failed to load resource: the server responded with a status of 404 ()" undefined:1

    If I use Firefox I see this "Error: Could not establish connection. Receiving end does not exist. bundle.js:2:256904"

    I have no idea where this bundle.js is coming from - has anyone else encountered this?

    While working on this post I did a little more digging this looks like it's related to the Lazy Load code specific to the SFNT page. But I can't figure out what the "undefined" is.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    Since the error in the console seems to be happening on every scroll, I would look at the JavaScript for any onScroll or 'scroll' event calls and verify that they are needed and correct. With this error popping up so quickly, I would look into using throttling or debouncing to lessen the calls as well.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Originally posted by Matt Zimmermann View Post
      Hi Leslie,

      Since the error in the console seems to be happening on every scroll, I would look at the JavaScript for any onScroll or 'scroll' event calls and verify that they are needed and correct. With this error popping up so quickly, I would look into using throttling or debouncing to lessen the calls as well.
      Thanks Matt, my javascript foo is weak so I will have to find some to refer to the store owner to fix this.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X