My 'myelectric' page has suddenly stopped functioning (see screenshot below), no data is shown, and the 'spanner' link is unresponsive, so I cannot access the 'myelectric' config page. Everything else works fine, inputs, feeds dashboards etc.
The only thing that I have changed recently is making some adjustments to the feeds page. Does 'myelectric' handle errors OK - such as 'feed no longer available' ??
If I check my browser developers tools, I see the error;
Uncaught SyntaxError: Unexpected token : myelectric?apikey=527ee7ec14130b874655hg343bghb5e:1
The URL of the page is http://192.168.1.72/emoncms/myelectric?apikey=527ee7ec14130b874655hg343bghb5e
(there's no :1 at the end)
Paul
(PS - that's not my real API key!)
Re: Myelectric page unresponsive v8.1.2 [SOLVED]
Does it give a line number against the Uncaught SyntaxError: Unexpected token : error?
Re: Myelectric page unresponsive v8.1.2 [SOLVED]
I'm afraid not
Paul
Re: Myelectric page unresponsive v8.1.2 [SOLVED]
Eventually sorted this. As I said in my first post, I had been doing some housekeeping with the feeds, and had deleted & replaced the 'Daily Consumption' feed, which was used as the 'Bar Graph Feed' in Myelectic.
This resulted with a syntax error being created and left me unable to open the 'Myelectric' admin page to change the Bar Graph Feed selected from the drop down.
The only way that I could rectify this was to edit the myelectric table in the MYSQL database using phpMyAdmin and change the Bar Graph Feed to the correct feed ID.
To prevent this type of error, shouldn't there be a check in place to ensure that the feed still exists?
Paul