glueckm / smartvisu

Automatically exported from code.google.com/p/smartvisu
GNU General Public License v3.0
0 stars 0 forks source link

Error Notice Message from PHP / Undefined index #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install as in Readme
2. Set PHP "error_reporting = E_ALL"
3.

What is the expected output? What do you see instead?

I got two Error Notice Message from PHP: "
Notice: Undefined index: digiclock in /var/www/smartVISU/lib/functions_twig.php 
on line 65 "

AND:
Notice: Undefined index: digiweather in 
/var/www/smartVISU/lib/functions_twig.php on line 65

What version of the product are you using? On what operating system?
smartvisu 2.0 
Debian 6.0
PHP 5.3.3-7+squeeze14 with Suhosin-Patch 

Please provide any additional information below.

If I ignore Notices -> everything works well
error_reporting = E_ALL & ~E_NOTICE

## This is a very small issue - i know - but this annoys me - my php is set to 
reports notices too...

##
Keep up the good work! - This code is much cleaner and sophisticated
that anything i´ve seen so far in the KNX bussiness.

kind regards from Bamberg
Stefan

Original issue reported on code.google.com by von...@gmail.com on 19 Dec 2012 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by Gleiss.Martin on 19 Dec 2012 at 5:21

GoogleCodeExporter commented 9 years ago
Can now be set via config.php. Default is E_ALL & ~E_NOTICE.
SVN Rev. 85

Original comment by Gleiss.Martin on 23 Dec 2012 at 11:58

GoogleCodeExporter commented 9 years ago
Many thanks !

Original comment by von...@gmail.com on 24 Dec 2012 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by Gleiss.Martin on 6 Jan 2013 at 9:40