On Wed, 8 Jun 2011 16:29:47 +1000, Craig Small wrote: > On Mon, Jun 06, 2011 at 08:48:48AM +0200, ta...@wset.edu.pl wrote: >> Warning: array_key_exists() [function.array-key-exists]: The second >> argument should be either an array or an object in >> /opt/jffnms2/lib/api.inc.php on line 485 > This messages are harmless but can be annoying, you can change > line 485 to > if (is_array($arr) and array_key_exists($key, $arr)) > > so it first checks if there is an array in $arr. Functionally, it > should > be the same but with less errors. > > - Craig
So if there is so many errors/warrnings on php 5.2.X mayby change Requirements from: -PHP ( > 5.0.x ) Extensions: snmp, ssl, gd, sockets, mysql or pgsql, pcre, posix, ob, pcntl and session to: -PHP ( > 5.3.x ) Extensions: snmp, ssl, gd, sockets, mysql or pgsql, pcre, posix, ob, pcntl and session Because i see u write new jffnms for 5.3.X and you lose a little support for 5.2.X, so better change requirement to >php5.3.X Thanks ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users