Announcement

Collapse
No announcement yet.

Uncaught ReferenceError: ImageMachine is not defined

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

    Uncaught ReferenceError: ImageMachine is not defined

    I'm trying to resolve a number of issues that Google has pointed out when running their Mobile-Friendly Test. These errors do not show up when using the browser Developer Tools.

    These errors seem to only show up in Google's Search Tools. The Google Search Console gives a screenshot of the mobile page without all of the correct CSS files being loaded. Of course, all this jams up Google and it won't index the pages.

    Something even more interesting - when I added the 9.13 template updates the errors showed up and I saw the site just like Google did.

    Also, in the console errors

    Mixed Content: The page at 'https://www.domain.com/page/F/PROD/ab-machine-gab100' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.domain.com/page/F/NTFD.html'. This request has been blocked; the content must be served over HTTPS.
    Where (and why) is the page being requested insecurely?

    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,

    Can you post a link? If not, I woulds start with resolving your mixed-content error or contact support.
    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
      Sure, here's the link

      Here's the Google Search Mobile-Friendly Test Page loading info too

      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


        #4
        Hi Leslie,

        I'm not sure how much stock I would put into that test. While there are some definite improvements that can be made to the site, as see in PageSpeed Insights [ https://developers.google.com/speed/...100&tab=mobile ], I see no errors when testing the site on a mobile device. I would recommend not relying on the mobile friendly tests as much.
        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


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

          I'm not sure how much stock I would put into that test. While there are some definite improvements that can be made to the site, as see in PageSpeed Insights [ https://developers.google.com/speed/...100&tab=mobile ], I see no errors when testing the site on a mobile device. I would recommend not relying on the mobile friendly tests as much.
          I'm trying to find out why Google won't index the page and it could be all the other stuff.
          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


            #6
            definitely could be the mixed content message and/or that odd request to the NTFD page could be sending google a 404 response.
            Bruce Golub
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment

            Working...
            X