OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Web App Blank Page Returned

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23111

    kdemontf
    Participant

    Hello,I am new here and I am having a problem with the Web App https://github.com/salbahra/Sprinklers-PHP. It is installed on Apache/2.4.6 (Ubuntu) Server at my Lan IP Port 80 server in Linux Mint 16, and I can contact it. When I first navigated to ://serverIP/sprinklers the install page opened and it wrote a config file. Installer page said it would direct me to the next page, which it did, but it is blank? Now if i navigate to ://serverIP/sprinklers i get only a blank page. Here are some errors found in the contents of /var/log/apache2:

    [Fri Aug 15 19:53:29.135091 2014] [mpm_event:notice] [pid 3228:tid 139756291446656] AH00489: Apache/2.4.6 (Ubuntu) configured — resuming normal operations
    [Fri Aug 15 19:53:29.136572 2014] [core:notice] [pid 3228:tid 139756291446656] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Aug 15 19:53:32.828013 2014] [mpm_event:notice] [pid 3228:tid 139756291446656] AH00491: caught SIGTERM, shutting down
    [Fri Aug 15 19:53:33.964510 2014] [mpm_prefork:notice] [pid 3840] AH00163: Apache/2.4.6 (Ubuntu) configured — resuming normal operations

    [Fri Aug 15 19:56:34.091213 2014] [core:notice] [pid 1442] AH00094: Command line: ‘/usr/sbin/apache2’
    no crontab for www-data
    [Fri Aug 15 20:20:21.346374 2014] [:error] [pid 1448] [client 192.168.2.10:58791] PHP Fatal error: Call to undefined function json_decode() in /var/www/sprinklers/main.php on line 155

    [Fri Aug 15 20:27:28.891511 2014] [mpm_prefork:notice] [pid 1442] AH00169: caught SIGTERM, shutting down
    [Fri Aug 15 20:28:12.762586 2014] [mpm_prefork:notice] [pid 1443] AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.6 configured — resuming normal operations
    [Fri Aug 15 20:28:12.776737 2014] [core:notice] [pid 1443] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Aug 15 20:30:25.268426 2014] [:error] [pid 1447] [client 192.168.2.20:51714] PHP Fatal error: Call to undefined function json_decode() in /var/www/sprinklers/main.php on line 155

    I see some errors, but do not know how to fix them. I am using Firefox to access the web server; is Java an issue possibly? and the crontab and JSON errors seem significant? I double checked the IP of the OS box, and the passwords and I can contact the OS by IP address on the LAN with firefox and with an android device mobile app. Any help would be appreciated, I am not a Linux expert. Thanks, Keith.
    PS: great product

    #27858

    Samer
    Keymaster

    Hello, the PHP version of the app is no longer in development. So before you spend too much effort trying to get it working I suggest you hold off as another solution is coming soon.

    If you want the PHP copy to run you will need to add JSON support to your PHP install. That is the error you are getting.

    Note: If you are using OSPi, the PHP app does not support the 2.x versions.

    Thanks

    #27859

    kdemontf
    Participant

    Thanks for the quick reply. I installed PPY5-JSON and it works. The reason I wanted this was to get the auto rain delay functioning. This Web App seems to be the only way to do that, or am I missing something? I modified the config file to get this going, not sure it works yet. I look forward to the new solution you mentioned. Thanks again, Keith

    #27860

    Samer
    Keymaster

    Ah, if you are interested in the rain delay feature than you are correct for the Arduino that is currently the only way to achieve that. Glad it works!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Web App Blank Page Returned