Results 1 to 9 of 9

Thread: Uncaught TypeError: Cannot read property 'complete' - Ultimate Fade-In Slideshow

  1. #1
    Join Date
    May 2015
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Uncaught TypeError: Cannot read property 'complete' - Ultimate Fade-In Slideshow

    So we are using the DD Ultimate Fade-In Slideshow:

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    And just recently noticed an error where it is not loading on Chrome.

    The error reads:

    Uncaught TypeError: Cannot read property 'complete' of undefined

    Around line 120 of fadeslideshow.js:

    Code:
    if ($curimage.get(0).complete){ //accounf for IE not firing image.onload
    .
    .
    .
    Any idea how to go about fixing this? Tested in IE and FireFox and seems to be working.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm getting no such error in Chrome on the demo page. Are you? If not, it's probably something about your page. Does the sideshow on your page work in Chrome?

    If you want more help, please post a link to the problematic page on your site, so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2015
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Hm, I cleared the cache, forced our CDN to purge all contents, forced cache generation from the website we're using and no luck.

    You can see at the homepage of http://www.silverhorseracing.com/

    It's not loading, just showing the spinning loading.gif and throwing the error. Not sure what we could have done to cause this as it's always worked for us in Chrome
    Last edited by jscheuer1; 02-04-2016 at 01:57 AM. Reason: format

  4. #4
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Your page works fine for me in Opera, Firefox and Chrome.
    Last edited by jscheuer1; 02-04-2016 at 01:58 AM. Reason: excessive quoting

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Here as well (works in Chrome/Win 7). However, you have not told us which OS/device you are using or whether or not the demo page is working for you in Chrome. This kind of thing is generally a detective story. At the moment I'm thinking some setting in Chrome. But with more information that may prove not to be the case.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    May 2015
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Odd, we tested on a separate computer as well and it seems to be working. Both PC computers running Windows 7 on Chrome newest version 48.0.2564.103m

    I've seen issues that occur on one computer but it's weird that it is a javascript error showing in the chrome console.

    Demo page is indeed working for me on my computer. If it's a chrome setting what should I be looking for?

    Another issue I noticed is my Tag Assistant for Google Tag Manager is not showing up 'Green' as it usually does, meaning one of the tags is incorrect or showing an error. It seems to be the Google Analytics tag. I'm just confused as to how this is a computer-specific error.

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Can you turn off "Google Tag Manager" and then see what happens? This wouldn't be the first time I've seen excessive analytics of one sort or another break a page.

    Give that a shot, clear the cache and report back.

    Even if that is the cause, might be a workaround. Though admittedly, it would be less urgent. You think? At least we would know what we are dealing with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    May 2015
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    We're not sure what happened, but we ran CCleaner and restarted chrome..fixed.

    Very odd that clearing cache directly from chrome didn't work.

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Might depend upon how you cleared the cache. Not every method is as effective. Usually though, just refreshing the page will suffice. Ctrl + F5 while viewing the page is the next most aggressive. Actually clearing the cache in the settings/configuration screens while not viewing the page would be even more aggressive. Programs like CCleaner and similar would be more aggressive still, or rather complimentary to clearing the cache.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 4
    Last Post: 02-25-2014, 06:11 PM
  2. Ultimate Fade In IE error get(...).complete is null
    By TCRTT in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-13-2012, 12:07 PM
  3. Resolved Cannot read property of 'firstChild' error
    By championcyclones in forum JavaScript
    Replies: 0
    Last Post: 04-23-2012, 11:39 PM
  4. Making Read-only property in a user-defined JS object
    By codeexploiter in forum JavaScript
    Replies: 6
    Last Post: 03-12-2009, 03:47 PM
  5. Ultimate Fade-In Slide Show: read images of folder
    By zurich in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-01-2007, 05:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •