Hi dico!
Well, the "install" procedure is very similar... but I keep running into problems with the require statements... looking in the apache error log I see:
Code: Select all
[Wed Apr 17 20:29:49 2013] [error] [client 192.168.1.3] PHP Warning: require(/var/www/fut/lib/base.inc.php): failed to open stream: Permission denied in /var/www/fut/index.php on line 2
[Wed Apr 17 20:29:49 2013] [error] [client 192.168.1.3] PHP Fatal error: require(): Failed opening required '/var/www/fut/lib/base.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/fut/index.php on line 2
I tried changing the path to relative, absolute, etc. etc. (above it is absolute) and well.. no luck so far...
Well, after further investigateing (reading the error) I saw that this was a problem with permissions, the easy fix is to chmod -R 777 fut (in my case fut) and then things "just work"... I guess I should look into users and groups... I thought I had things figured out... anyway - this is a DANGEROUS fix but for those who dare chmod 777 is the way to go. The REAL way to go is to make sure apache can read that file... (I tried both chown and chgrp so more work is needed from my side I guess...)
When reading about this online it seems like one should use absolute paths all the time (
http://stackoverflow.com/questions/5364 ... uired-file,
http://stackoverflow.com/questions/5437 ... g-required) by either the FILE or DOCUMENT ROOT "command"... but since I made this absolute "by hand" I cannot see why it is not working.
Hope this helps someone out there...
EDIT:
Well, once it is up and running I feel an urgent need to say that this version surely looks GREAT...fantastic! I REALY like the highcharts... However
1. The combine charts is a bit wonky, if Highcharts are selected would it not make sense that something similar to
http://www.highcharts.com/demo/line-basic is shown? Perhaps one for temerature and one for humidity and one where all are combined? That way I can select what to compare over time...
2. After clicking "combine charts" perhaps the option would be called "un-combine charts" and would "get you back to the other state. Perhaps a defalt value can be set in the settings? I would then pick combine charts and have the three charts mentioned above to look at...
3. In the "menu" of the high charts there are lots of white spaces (line breaks) - at least for me. This is a very minor detail...
4. In the settings page "Delte sensorer" is in "no" although I am in "en" mode (being swedish this is not a problem but for others....)
5. I see no humidity in the highcharts (!)
6. Since all the data is there, perhaps one can add an "export as cvs" button somewhere, so people can download the data in some format if needed to manipilate elsewhere... perhaps like:
year, month, day, hour, minute, second, sensor, temperature, humidity, update_time (from Live!), ...???
Please see my comments as being amazed, not as complaints but as trying to give something back... this was just my first minutes with version 3... once I see more in the coming days I hope to give more feedback...
GREAT WORK, I am amazed...
EDIT #2:
When looking at various charts then perhaps this one would be the best:
http://www.highcharts.com/demo/spline-irregular-time since it allows for non-linear spacing, and since mostly everyone will run the cronjob AT LEAST once by command then at least one point will be irregular in time... dont know how important this is but just a thought... This "model" also has clickable names hence one can add and remove data as needed "easily"...
End of EDIT #2
EDIT #3:
There seems to be a bug with the time-zone when viewing the data in Highcharts, it is off by -2 hours, I live in Sweden, so I am GUESSING it defaults to GMT... I will see if I can hunt it down before the wife comes home, then I will let you know where it is...
Hunted. I didnt find it (looked in inc/charts_highcharts.php - infact it looks like it should work AND show humidity... well, now off to other adventures for a while...
End of EDIT #3.
P.S. in my error log I did see this:
Code: Select all
[Wed Apr 17 20:50:27 2013] [error] [client 192.168.1.3] PHP Warning: join(): Invalid arguments passed in /var/www/fut/inc/chart_highchart.php on line 43, referer: http://192.168.1.6/fut/index.php
But I was unable to reproduce it so perhaps it was nothing...???