NetTalk Central

Author Topic: Transient 'Red Message'  (Read 2837 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Transient 'Red Message'
« on: February 20, 2014, 01:42:01 PM »
Hi

I have frequently noticed that there is a 'flash' of red upon initial connection to my web app.  It didn't seem to affect the display and I have ignored it.  However, due to a piece of magic available on an iPad (the ability to take a photo of the screen) the attached shot was taken.

You can see the 'red message' and the bullet points are the Form tab headings but the tabs are correctly displayed - this 'screen' is transient.

I would be interested to know why this appears.

Thanks

Keith

[attachment deleted by admin]
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Transient 'Red Message'
« Reply #1 on: February 20, 2014, 05:45:31 PM »
Firstly, it shoul be noted that this test can be disabled on the advanced tab in the web server procedure.

Basically the page is generated with the error, which is hidden by JavaScript as the page loads. If JavaScript is broken it doesn't get hidden.

Cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Transient 'Red Message'
« Reply #2 on: February 20, 2014, 08:10:41 PM »
Hey Bruce,

So is this more of a debugging tool?

(am assuming that if we turn it off in the template, then we'd still be able to use firebug etc to debug)
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Transient 'Red Message'
« Reply #3 on: February 20, 2014, 09:13:07 PM »
Hi Stu,

>> So is this more of a debugging tool?

yes sort of debugging, but perhaps sort of "prevention" as well. As long as it doesn't interfere (ie isn't visible most of the time) it's a useful thing to have on because it alerts you to problems immediately. Certainly having it on during development is good.

I usually deploy with it in, and then once the deployment is tested, turn it off. In NT8 the setting is now an expression, so you could deploy with it on to check that everything is ok, then just adjust a setting on the server to turn it off.

>> (am assuming that if we turn it off in the template, then we'd still be able to use firebug etc to debug)

absolutely - it doesn't affect firebug - actually it's more of a hint to go look in firebug to see what's wrong.

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Transient 'Red Message'
« Reply #4 on: February 21, 2014, 06:01:21 PM »
Thanks Bruce, good to know.
Cheers,

Stu Andrews