Forum Replies Created

Viewing 14 posts - 26 through 39 (of 39 total)
  • Author
    Posts
  • in reply to: Mobile Web App with Screenshots (Updated) #23916

    Oasiz37
    Participant

    You can add Synology to the list of conquered servers now 🙂

    The latest version work like a charm, here’s some Synology specific details (assuming you have default Synology setup with PHP running in a Safe Mode)

    1. There is no crontab script on Synology, you have to edit /etc/crontab file manually.
    2. The cron line parameters (* * * *) must be separated by tabs
    3. Cron service has to be restarted manually after updating the crontab by running /usr/syno/etc/rc.d/S04crond.sh stop ; /usr/syno/etc/rc.d/S04crond.sh start as per http://forum.synology.com/wiki/index.php/Basic_commands_to_get_around_the_Synology_Box_using_the_CLI

    Thank you, thank you, thank you!
    Cheers,
    Oasiz37

    in reply to: Mobile Web App with Screenshots (Updated) #23912

    Oasiz37
    Participant

    I’ve got the most recent update and now the installer tells me that files have been saved ok. However, when redirected to index.php, I see a blank screen. Here’s the log file (I haven’t done the cron -e thing yet)
    [Mon Jun 17 15:58:55 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 6153 to 1719 : URL /sprinklers/install.php
    [Mon Jun 17 15:59:34 2013] [error] [client 10.8.0.6] PHP Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /volume1/web/sprinklers/install.php on line 80, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:59:35 2013] [error] [client 10.8.0.6] PHP Warning: exec(): PHP exec disable. in /volume1/web/sprinklers/install.php on line 82, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:59:35 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 1 to 3 : URL /sprinklers/install.php, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:59:37 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 6153 to 1719 : URL /sprinklers/install.php
    [Mon Jun 17 15:59:37 2013] [error] [client 10.8.0.6] PHP Parse error: syntax error, unexpected ‘[‘ in /volume1/web/sprinklers/main.php on line 466
    [Mon Jun 17 15:59:37 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 0 to 2 : URL /sprinklers/index.php

    in reply to: Mobile Web App with Screenshots (Updated) #23910

    Oasiz37
    Participant

    These are the errors I’m getting (please note that my Synology server runs some heavy PHP applications including image/galery host, PHPAdmin, tramsmission, etc – in other words, I have some PHP applications that work)

    Hope this helps:

    [Mon Jun 17 15:37:42 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 1 to 3 : URL /sprinklers/install.php, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:38:44 2013] [error] [client 10.8.0.6] PHP Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /volume1/web/sprinklers/install.php on line 80, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:38:44 2013] [error] [client 10.8.0.6] PHP Warning: exec(): PHP exec disable. in /volume1/web/sprinklers/install.php on line 82, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:38:44 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 1 to 3 : URL /sprinklers/install.php, referer: http://192.168.40.101/sprinklers/install.php
    [Mon Jun 17 15:38:46 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 6153 to 1719 : URL /sprinklers/install.php
    [Mon Jun 17 15:38:47 2013] [error] [client 10.8.0.6] PHP Parse error: syntax error, unexpected ‘[‘ in /volume1/web/sprinklers/main.php on line 419
    [Mon Jun 17 15:38:47 2013] [debug] mod_deflate.c(615): [client 10.8.0.6] Zlib: Compressed 0 to 2 : URL /sprinklers/index.php

    in reply to: Mobile Web App with Screenshots (Updated) #23906

    Oasiz37
    Participant

    Thank you for a quick response.

    >The next thing you need to do is open your browser and navigate to said directory

    I think if I just navigate to the directory it’ll execute index.php, not install.php. I’m getting a blank page when just navigating to the directory or invoking index.php. I have to explicitly specify www/sprinklers/install.php to get to the install screen.

    >All you do now is fill in the requested fields and off you go

    This is what I tried and this is where I’m getting a pop-up saying I don’t have permissions or files in place.

    I’ll try to manually create all the files as the next step. Could you please let me know what files should NOT be reverted to 644 permission mode (I assume index.php as one of them, anything else)?

    Thank you!

    in reply to: Mobile Web App with Screenshots (Updated) #23904

    Oasiz37
    Participant

    Hello,

    I’m trying to install the app on a Synology server and I’m running into problems. I’m trying to run the install.php and when I click the “submit” button, I’m getting a pop-up saying “check folder permission and file path”. I understand my setup is a bit not standard, but not by much. Here’s what I have:

    1. The server is a really small one and I don’t want to install anything on it unless absolutely necessary. Hence, I’ve downloaded the zip file, instead of using git, and unpacked everything under the “sprinklers” directory.
    2. Unfortunately, the install instructions are very… sparse. I can only guess what to do next…
    3. I’ve changed every file permission recursively to 777.
    4. I’m using VPN to get to home network instead of configuring a redirect on router, this is more secure. Thus, I don’t have a password protection for Open Sprinkler, don’t need to. I wonder what “user” field is, the one I have to specify in install.php. I wonder if it’s not the files permission but the lack of the password for the controller that causes the issue.

    Thank you!

    in reply to: USB connector type #23645

    Oasiz37
    Participant

    I’ve ended up ordering USBAF-USBBM-F adapter from vpi.us. It’s the only space-saving adapter for USB Type B connector I could find. Hope this helps.

    in reply to: Javascript Files #23242

    Oasiz37
    Participant

    What about v2 then? I don’t need a full domain name in the URL, an IP address of the server would suffice.

    in reply to: Crashing with OpenSprinkler 2.0 devkit version? #23554

    Oasiz37
    Participant

    Mine’s actually black, but in my case the cause might be clock-related and have nothing with PCB design.

    in reply to: Javascript Files #23240

    Oasiz37
    Participant

    May I second this request? My thoughts were exactly the same – I’d rather host the script files on my intranet web server. This way if my DSL isn’t working I can still access the controller.

    Thank you!

    in reply to: LCD display shows UTC time (v 2.0) #23593

    Oasiz37
    Participant

    It looks like I put a wrong title for the post, the clock on the controller advances for about 12 minutes every 100 seconds. I’ve sent you an email.

    in reply to: LCD display shows UTC time (v 2.0) #23592

    Oasiz37
    Participant

    Ok,

    After an hour and 15 minutes after the reboot the controller’s clock is completely off. Not only it shows GMT, the time it shows is 23:10, which would correspond to 16:10 local (it’s 19:31 local). I think it is safe to say it’s malfunctioning.

    in reply to: LCD display shows UTC time (v 2.0) #23590

    Oasiz37
    Participant

    The controller was turned off/on after becoming irresponsive (as discussed in another thread). After that the displayed time was GMT. I’ve rebooted it via the web interface and now it shows the local time. I’ll keep watching – it’s an exciting new toy 🙂

    in reply to: Crashing with OpenSprinkler 2.0 devkit version? #23551

    Oasiz37
    Participant

    Let me wait a few days, if after a week the issue re-occurs I’ll send you my board. I forgot to mention, I have one ext board, not sure if it matters.

    in reply to: Crashing with OpenSprinkler 2.0 devkit version? #23549

    Oasiz37
    Participant

    I’ve just installed the 2.0 OpenSprnkler replacing current Iritrol; I’m certain there is no problem with solenoids. I ran some tests in manual mode, also had some schedule programmed in. Everything worked until today’s afternoon when controller become irresponsive. I’ve also noticed the date on display was Tue 02-27 (which happened in 2007) . The LCD’s network status stuck in “connected”. Switching the controller on/off restored the connection and the date. However, having read previous comments in the thread I believe there’s a common issue with 2.0 hardware.

Viewing 14 posts - 26 through 39 (of 39 total)