Hi I was happy user of jffnms on debian (installed from package) until hdd failure. After recovery I experienced some strange problems. Most of them was due to incompatibilities between new debian packages and old jffnms code, so I was upgrading until I have reached 0.8.3, which was ok, except one important thing: In interface selector frame I could only choose from hosts. Other select fields were empty. I could live with that, but this bug has broken interface editing too (saving interface with empty customer selector makes interface invisible in gui).
In log I have found: PHP Warning: call_user_func_array() expects parameter 2 to be array, null given in .../jffnms-0.8.3/lib/gui.controls.inc.php on line 35, referer: ... Google had no answers to this so I dig very hard and deep and what I have found was very surprising for me: with this code those selectors could not work, so how it worked earlier? The solution I have found was to add if (empty($params)) $params = array(); to functions select_interface_types, select_clients and select_maps in lib/gui.controls.inc.php Does anyone have an idea why this happen? Now in log I have one, last warning: PHP Warning: Parameter 1 to array_multisort() expected to be a reference, value given in .../jffnms-0.8.3/lib/api.inc.php on line 362 I do not know php language, but it sounds serious, like some sorting has no effect. Is it serious? -- Best regards Seweryn Niemiec ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users