IOL suddenly stopped working

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

Using Dan's image onload technique, I had a javascript page calling up an html page to display a large table within each record. This had been working very well for a while, but now (even though nothing was changed) the table is not displaying at all. The html page does not seem to be the culprit since it will not pull even a basic line of code. Could quickbase have changed their url naming (or something) so that the .js page is no longer directed at the correct target? Attached is my .js code if it is useful to see. 

Photo of Taylor

Taylor

  • 52 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 Points 20k badge 2x thumb
Something in your schema, IOL setup, code or even the data changed. We can't tell what changed because you simply state that IOL stopped working without providing details. Debug your code:

http://pastie.org/10595984
Photo of Taylor

Taylor

  • 52 Points
Hi Dan, thanks for replying. I don't really have much more detail on the problem. I had an image onload field displaying a table and now it is not. I know it seems reasonable that I must have changed something somewhere but I feel confident that everything is still set up as it originally was. 

What I've checked:

  • I've ruled out a problem in the IOL set up because this same set up can pull other .js pages.
  • I do not think it is a result of data changing because the .js code will not pull a table full of blank data either.
What I think still could be the problem:

  • I'm not sure what a schema is outside of xml so I'm not sure how to check that in this case. 
  • Something on the mustache rendering side changed?
  • Quickbase changed the way they name records/fields/pages...or something similar that doesn't allow the .js code to interpret what to do. 
Suggestions for testing are most welcome! Thanks!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 Points 20k badge 2x thumb
This is just standard debugging - something has clearly changed. You need to determine if you code in the module.js page is even executing. Replace everything in your module.js file with an alert() or console.log() statement (no other code). If you can see the debug message the problem is with your code and you can further debug with console statements. If you can't see the debug message there is something wrong with your IOL setup.
Photo of Taylor

Taylor

  • 52 Points
Good news--by a happy accident I found that my onloaded table was fully functional in internet explorer and only stopped displaying in Chrome. This isn't that big of a deal anymore, but if there's a way to make it display in any browsers that would be cool. 

Thanks (as always) for your feedback, Dan!
Photo of B

B

  • 20 Points
IT'S A FESTIVUS MIRACLE....Dan is Back!  I was so worried we had lost him like _Why the Lucky Stiff (neat story, look it up).  I got really worried when I noticed your GitHub Gist account were all 404's.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 Points 20k badge 2x thumb
I was in an accident and reinjured my leg repeatedly as this happened in the middle of a class I teach. But Festivus is a go - here is my Festifus pole which I use every year:

Dan's Festivus Pole
http://i.imgur.com/tiUFSGa.jpg

The Story of Festivus (December 23rd)
https://www.youtube.com/watch?v=y8rzt-vj2gU\

The story of _why is not really very happy as he was an extremely talented individual who unfortunately abruptly  dropped out of the Ruby community and committed suicide perhaps?

https://en.wikipedia.org/wiki/Why_the_lucky_stiff
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 62,438 Points 50k badge 2x thumb
Yes, good to have you back.  I watched the Seinfeld episode. Thx
Photo of B

B

  • 20 Points
haha. that is one nice aluminum pole.  Sorry to hear about your accident, I wish you the best in your recovery.