OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated) Re: Re: Mobile Web App for OpenSprinkler (w/Screenshots)

#24014

maddox
Member

@salbahra wrote:

@maddox That is odd! Usually nothing works or it all works. Can you provide any logs? In particular the PHP logs from /var/log/apache2/error.log.

1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:29:45 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:30:35 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:33:55 2013] [error] [client 192.168.1.113] File does not exist: /var/www/favicon.ico
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 1 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 2 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 3 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 4 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 5 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 6 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 7 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 8 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 9 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 10 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 11 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 12 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 13 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 14 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 15 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 16 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 17 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 18 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 19 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 20 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 21 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 22 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 23 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:43:13 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=0): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:44:12 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&mm=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:44:36 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&mm=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php

> Are you using OSPi or OS? If your using OSPi can you provide the log files from it? This can be done by running ospi from console: python ospi.py

OSPi – I’ll work on getting the OSPi log files

> This used to be an issue on the OSPi before the Dan updated to the latest version. You need to be using OSPi >=June 22, 2013.

I updated to Dana’s latest today.