-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tor,
Dne 3.1.2012 22:44, Tor Inge Skaar napsal(a): > Hi Tomas. > > PHP is a lazy language, allowing all kinds of stuff. When developers > do checks on an array, they often try to get the value for a given > index key without first checking if the index key has been set. This > will work, but if your PHP interpreter engine has been configured to > log or display notices, you will get the "undefined index" message. As > for the warning, this could be related to improper escaping of quotes. > > I don't know the details of your installation, but I would recommend > disabling display_errors option in your runtime config, since you may > unintentionally disclose sensitive error messages to the user. Instead > enable the error_reporting option which logs to syslog etc. This > option also allows varying levels of logging, e.g. E_ALL & ~E_NOTICE > will log all errors except for notices and coding standards warnings. problem with an "Undefined index" is solved by the Peter's patch now. On our devel server we had to enable reporting of php errors, but logging into log file is better solution than enabled display_errors. Thank you. Best regards, Tomas > > Best regards, > Tor Inge Skaar > > > On Mon, Jan 2, 2012 at 1:38 PM, Tomas Plesnik <ples...@ics.muni.cz> wrote: > Hi Peter, > > Dne 31.12.2011 14:40, Peter Haag napsal(a): >>>> Hi list, >>>> I just released nfsen-1.3.6 as an intermediate release. > > I just installed nfsen-1.3.6 on our devel Centos server with enabled > display_errors directive in /etc/php.ini. But when I load Details > section in NfSen interface I get several warnings and notices: > > Warning: Unexpected character in input: ' ' (ASCII=1) state=2 in > /var/www/html/nfsen/details.php on line 1709 > > Notice: Undefined index: in /var/www/html/nfsen/details.php on line 1148 > > Notice: Undefined index: _tcp in /var/www/html/nfsen/details.php on line > 1148 > > Notice: Undefined index: _udp in /var/www/html/nfsen/details.php on line > 1148 > > Notice: Undefined index: _icmp in /var/www/html/nfsen/details.php on > line 1148 > > Notice: Undefined index: _other in /var/www/html/nfsen/details.php on > line 1148 > > Notice: Undefined index: in /var/www/html/nfsen/details.php on line 1171 > > Notice: Undefined index: _tcp in /var/www/html/nfsen/details.php on line > 1171 > > Notice: Undefined index: _udp in /var/www/html/nfsen/details.php on line > 1171 > > Notice: Undefined index: _icmp in /var/www/html/nfsen/details.php on > line 1171 > > Notice: Undefined index: _other in /var/www/html/nfsen/details.php on > line 1171 > > Notice: Undefined index: in /var/www/html/nfsen/details.php on line 1193 > > Notice: Undefined index: _tcp in /var/www/html/nfsen/details.php on line > 1193 > > Notice: Undefined index: _udp in /var/www/html/nfsen/details.php on line > 1193 > > Notice: Undefined index: _icmp in /var/www/html/nfsen/details.php on > line 1193 > > Notice: Undefined index: _other in /var/www/html/nfsen/details.php on > line 1193 > > > Is it correct? > > > Tomas > >> - ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss - -- Tomas Plesnik ples...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic PGP key ID: 0x9D3722F3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk8G8kUACgkQGA/bT503IvNJagCbB6nrIp4uvXRpk2kaZDE1VORa ZHMAn3m4LPB5Xie6UgZizAoOagckcaNs =Ieyq -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss