OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Mobile Web App with Screenshots (Updated) › Re: Re: Mobile Web App with Screenshots (Updated)
November 2, 2013 at 6:42 pm
#24309
Samer
Keymaster
@revnull wrote:
Errors from the apache error_log:
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined offset: 1 in /srv/http/sprinklers/main.php on line 98, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined offset: 3 in /srv/http/sprinklers/main.php on line 102, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined offset: 1 in /srv/http/sprinklers/main.php on line 104, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined offset: 2 in /srv/http/sprinklers/main.php on line 104, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined offset: 4 in /srv/http/sprinklers/main.php on line 104, referer: https://10.10.100.3/sprinklers/
These errors are the Yahoo weather API not working. Probably a temporary thing or the reply has changed (but I don’t think it has).
@revnull wrote:
[Fri Nov 01 15:24:44 2013] [error] [client 10.10.100.239] PHP Notice: Undefined variable: data in /srv/http/sprinklers/sprinklers.php on line 115, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined variable: data in /srv/http/sprinklers/sprinklers.php on line 254, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined variable: data in /srv/http/sprinklers/sprinklers.php on line 261, referer: https://10.10.100.3/sprinklers/
[Fri Nov 01 15:24:45 2013] [error] [client 10.10.100.239] PHP Notice: Undefined variable: data in /srv/http/sprinklers/sprinklers.php on line 388, referer: https://10.10.100.3/sprinklers/
These errors are more significant and possibly related to variable scope. I will be pushing a fix very soon.