Page 1 of 1

error loading custom/custom.js with Safari on iPad and iPhone

Posted: Sunday 06 September 2020 13:57
by rolandbreedveld
Since I upgraded to the latest 3.5 version with Dashticz I get an error with Safari on my both iPhone-8 and iPad-mini-4 with latest iOS
I don't get it with Chrome on the same iPad and iPhone.
It also works fine on my MacBook (both Safari and Chrome), and on my Samsung tablet
I get 2 different erros, which one is by change....:
Error loading custom/custom.js
ReferenceError: Can't find variable:TemplateEngine at line 3:36
or
Error loading custom/custom.js
ReferenceError: Can't find variable:Handlebars at line 1524:11

custom.js is original code and not modified.

no errors in apache, latest row in log file:
192.168.3.35 - - [06/Sep/2020:13:56:08 +0200] "GET /dashticz/custom/custom.js?_=1599393366539 HTTP/1.1" 200 539 "http://pi1/dashticz/" "Mozilla/5.0 (iPad; CPU OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1"

Any idea ?

regards, Roland

Re: error loading custom/custom.js with Safari on iPad and iPhone

Posted: Sunday 06 September 2020 19:59
by HansieNL
Have you already tried a private browser screen in safari?

Re: error loading custom/custom.js with Safari on iPad and iPhone

Posted: Monday 07 September 2020 12:17
by rolandbreedveld
HansieNL wrote: Sunday 06 September 2020 19:59 Have you already tried a private browser screen in safari?
Yes, a private session in Safari works

regards Roland

Re: error loading custom/custom.js with Safari on iPad and iPhone

Posted: Monday 07 September 2020 23:07
by HansieNL
Can you try to delete safari history and websitedata an reload Dashticz?

Re: error loading custom/custom.js with Safari on iPad and iPhone

Posted: Tuesday 08 September 2020 11:39
by rolandbreedveld
HansieNL wrote: Monday 07 September 2020 23:07 Can you try to delete safari history and websitedata an reload Dashticz?
Thanxzz Hans that solves it, must be old cached functions from the previous version.

for people who don't know how to do this:
go to settings, Safari, click on "Clear History and Website Data"

regards Roland