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

Moderator: leecollings

Post Reply
User avatar
rolandbreedveld
Posts: 156
Joined: Wednesday 09 March 2016 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

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

Post 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
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by HansieNL »

Have you already tried a private browser screen in safari?
Blah blah blah
User avatar
rolandbreedveld
Posts: 156
Joined: Wednesday 09 March 2016 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

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

Post 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
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by HansieNL »

Can you try to delete safari history and websitedata an reload Dashticz?
Blah blah blah
User avatar
rolandbreedveld
Posts: 156
Joined: Wednesday 09 March 2016 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

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

Post 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
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests