NetTalk Central

Author Topic: nettalk 11 inspect console errors ?  (Read 86 times)

MikeR

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • Email
nettalk 11 inspect console errors ?
« on: November 08, 2018, 11:15:13 AM »
Refused to apply style from 'https://assess.jmr.co.za/themes/base/CustomT.Css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
custom.js:1 Failed to load resource: the server responded with a status of 404 (The page cannot be found)
LoginForm:1 Refused to execute script from 'https://assess.jmr.co.za/scripts/custom.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
LoginForm:71 Uncaught TypeError: $(...).ntmenu is not a function
    at HTMLDocument.<anonymous> (LoginForm:71)
    at i (jquery-1.12.4.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.12.4.min.js:2)
    at Function.ready (jquery-1.12.4.min.js:2)
    at HTMLDocument.K (jquery-1.12.4.min.js:2)
LoginForm:1 Refused to apply style from 'https://assess.jmr.co.za/themes/base/CustomT.Css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Jane

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #1 on: November 08, 2018, 01:10:15 PM »
Although these errors *sound* as if the files in question are not valid, my experience has been that they actually mean those files do not exist.

Either add dummy zero-byte files with those names in your web folder or else remove them from the NetWebServer extension template if you don't plan to be adding any custom CSS.

jf

astahl

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #2 on: November 10, 2018, 12:08:44 AM »
Hi,

I am getting something similar. I did the upgrade refresh buttons and reset all of the global styles.

I also removed any custom css files.

IndexPage:25 Uncaught TypeError: $(...).ntmenu is not a function
    at HTMLDocument.<anonymous> (IndexPage:25)
    at i (all.js?c=1:1)
    at Object.fireWith [as resolveWith] (all.js?c=1:1)
    at Function.ready (all.js?c=1:1)
    at HTMLDocument.K (all.js?c=1:1)
(anonymous) @ IndexPage:25
i @ all.js?c=1:1
fireWith @ all.js?c=1:1
ready @ all.js?c=1:1
K @ all.js?c=1:1

Also I have now tried to compile Basic2Menu app and exe will not display and Basic3Login app and getting IsMobile errors.

I have reinstalled Nettalk 11.01 twice now and same thing when trying to run the sample apps.

Ashley
« Last Edit: November 10, 2018, 05:29:44 AM by astahl »

DonRidley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 532
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #3 on: November 11, 2018, 04:47:45 AM »
?$(...).ntmenu is not a function?

This tells me that a JacaScript file is missing or needs updating. 

I usually delete all *.js, *.css, and theme folders, except any custom.* files.  Run copyall.gz and gzip.gz and see if the errors go away.  Also, make sure StringTheory is updated to 2.88.

The menu?s have been greatly improved and there?s quite a bit more under the hood in terms of Js and CSS.  Any errant Js or CSS floating around could cause issues. 

Good luck!!

Don
NetTalk 10.32
Clarion 10.12799

astahl

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #4 on: November 12, 2018, 05:29:14 AM »
Hi Don,

Thanks for the reply. I did as you said deleted js, css, and theme folders. Run copyall.gz and gzip.gz. Stringtheory is at version 2.88.
But get the same error.

Ashley

PS: I now also deleted all of my .clw, .inc, and all .obj files in obj folder...still same error.

PSPS: I have it working now, nothing a good CTRL F5 can't handle. Thanks Don!!!!!
« Last Edit: November 12, 2018, 06:03:08 AM by astahl »

DonRidley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 532
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #5 on: November 12, 2018, 06:50:29 AM »
Update to this thread:

Ashley was able to fix this by refreshing his browse with CTRL+F5. 

Don
NetTalk 10.32
Clarion 10.12799

MikeR

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • Email
Re: nettalk 11 inspect console errors ?
« Reply #6 on: November 13, 2018, 07:07:30 AM »
Yeah cntl f5 works.
How do you do a cntl f5 on an iphone without deleting all your cache ?