- This topic is empty.
August 28, 2014 at 10:48 am #23137
I just upgraded my OpenSprinkler 2 to firmware 2.0.8 and now I can’t get to any of its web pages. I seem to remember having this problem at some stage in the past, but I can’t remember how I fixed it.
I can see that it has the correct IP address and port by pressing the B1 button.
When I type the IP address into my browser’s address bar, the page goes a mid-grey colour. I see “Transferring data from rayshobby.net…” in the status bar for a few seconds and then nothing but the grey screen. When I open the browser’s Web Console and refresh the page, it shows the following:
- Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:63
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. xxx.xxx.xxx.xxx
SecurityError: The operation is insecure. home.js:159
The browser is Firefox 31.0 on FreeBSD. I’ve disabled AdBlockPlus. I can ping it, and I can connect to its port 80 via telnet.
Does anybody have any clues, please?
GrahamAugust 28, 2014 at 2:18 pm #28022
sites = JSON.parse(localStorage.getItem("sites"))
This tells me you likely have malformed data inside your “sites” configuration. The easiest way to fix this, since you have knowledge of the console, is to issue the following command inside the console:
Please let me know if this helps.
Thanks!August 28, 2014 at 8:50 pm #28023
Thanks very much for replying. When I issue that command in the Web Console, I get the result:
- [Exception… “The operation is insecure.” code: “18” nsresult: “0x80530012 (SecurityError)” location: “”]
The same problem still exists.
Should I try creating a new Firefox profile?
GrahamAugust 28, 2014 at 9:00 pm #28024
That tells me your browser is disabled localStorage. I believe the way to turn it back on is to follow these steps:
1) Navigate to: about:config
2) Scroll down to: dom.storage.enabled
3) Ensure that this is enabled
Also, Firefox seems to disable localStorage if you disable cookies. This will also prevent the UI from working.August 30, 2014 at 4:57 am #28025
Thanks very much Salbahra – it was the cookies. I don’t know how they got disabled, but it’s all working now. Also, thanks for your work on the UI and mobile app.
- You must be logged in to reply to this topic.