hi i am tying to get the Temperature and humidity Meteo project from the tutorials on the udoo website , have got it working but when i try to use the PHP part of the tutorial i keep get an error listed below Warning: Unable to open the device in /var/www/METEO/php_serial.class.php on line 157 Warning: Device must be opened in /var/www/METEO/php_serial.class.php on line 541 Warning: Device must be opened to read it in /var/www/METEO/php_serial.class.php on line 474 --UDOO SYSTEM--METEO DATA DETECTION-- Last Detection 2014-09-05 02:49:18 Humidity Temperature Notice: Undefined offset: 1 in /var/www/METEO/data_php.php on line 55 i think i have changed the permissions using the 'chmod 777' command. can anyone help me with this issue. thanks chilliman
i found the problem on another website is as follows "I found the error: You have to give www-data permissions to access the serial port: That means chmod 777 /dev/ttymxc3 and i did also added www-data to the intserial group. Then you have to restart and it should work." and it works fine chilliman
sorry for diging up this thred but i have same problem with my meteo project and i get the same error Code: Notice: Undefined offset: 1 in /var/www/data_php.php on line 55 try difrent solutions but they didint help