I still need a step-by-step to reproduce this for the Zone problem you
are having.  

On Wed, 2010-06-02 at 16:05 -0300, Martin Parodi wrote:
> I turned on the debug option in
> the /usr/share/jffnms/lib/gui.controls.inc.php file and I get the
> following message when I edit host.
>  
> jffnms_zones Object
> (
>     [jffnms_class] => zones
>     [record] => 
>     [record_pos] => 
> )
>  
>  
>   
>   
> jffnms_autodiscovery Object
> (
>     [jffnms_class] => autodiscovery
>     [jffnms_insert] => Array
>         (
>             [description] => New Autodiscovery Type
>         )
> 
>     [jffnms_filter_record] => 0
>     [jffnms_order_field] => description
>     [jffnms_order_type] => desc
>     [record] => 
>     [record_pos] => 
> )
>  
> jffnms_clients Object
> (
>     [jffnms_class] => clients
>     [jffnms_insert] => Array
>         (
>             [name] => a New Customer
>             [shortname] => new_cust
>         )
> 
>     [jffnms_filter_record] => 0
>     [jffnms_order_field] => name
>     [jffnms_order_type] => asc
>     [record] => 
>     [record_pos] => 
> )
>  
>  
>  
>  
>  
> jffnms_hosts_config_types Object
> (
>     [jffnms_class] => hosts_config_types
>     [jffnms_insert] => Array
>         (
>             [description] => New Host Config Type
>         )
> 
>     [jffnms_filter_record] => 0
>     [jffnms_order_field] => id
>     [jffnms_order_type] => desc
>     [record] => 
>     [record_pos] => 
> )
>  
> 
> jffnms_satellites Object
> (
>     [jffnms_class] => satellites
>     [jffnms_insert] => Array
>         (
>             [description] => New Satellite
>         )
> 
>     [jffnms_filter_record] => 1
>     [jffnms_order_field] => id
>     [jffnms_order_type] => desc
>     [record] => 
>     [record_pos] => 
> )
> Array
> (
>     [0] => 
>     [1] => 2
> )
> Array
> (
>     [1] => Array
>         (
>             [id] => 1
>             [description] => Local
>             [parent] => 1
>             [url] => 
>             [sat_group] => 1
>             [sat_type] => 1
>             [parent_description] => (none)
>             [group_description] => (none)
>         )
> 
> )
> 
> 
> 
> 2010/6/2 Martin Parodi <martin...@gmail.com>
>         Maybe it could be usefull too, i sent attachments before but
>         the administrator have to approve that.
>          
>         [Wed Jun 02 10:38:30 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Invalid argument supplied for foreach()
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 40,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  call_user_func_array() expects parameter 2 to be
>         array, null given
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 31,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Invalid argument supplied for foreach()
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 40,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  call_user_func_array() expects parameter 2 to be
>         array, null given
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 31,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Invalid argument supplied for foreach()
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 40,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  call_user_func_array() expects parameter 2 to be
>         array, null given
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 31,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Invalid argument supplied for foreach()
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 40,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Parameter 1 to array_multisort() expected to be a
>         reference, value given in /usr/share/jffnms/lib/api.inc.php on
>         line 366, referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  call_user_func_array() expects parameter 2 to be
>         array, null given
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 31,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         [Wed Jun 02 10:42:02 2010] [error] [client 10.78.96.34] PHP
>         Warning:  Invalid argument supplied for foreach()
>         in /usr/share/jffnms/lib/gui.controls.inc.php on line 40,
>         referer:
>         
> http://10.78.97.190/jffnms/admin/adm/adm_standard.php?admin_structure=hosts
>         
>         
>         
>         2010/6/2 Martin Parodi <martin...@gmail.com> 
>         
>         
>                 Please let me know if you need anything else.
>                  
>                 Thanks in advance.
>                 
>                 
>                 2010/6/1 Craig Small <csm...@enc.com.au> 
>                 
>                 
>                         On Tue, Jun 01, 2010 at 11:24:09AM -0700, Eric
>                         Wheeler wrote:
>                         > If it works please let us know.  Craig, was
>                         this applied to 0.8.5's bugfix release?
>                         
>                         Yes it was.
>                         
>                         0.8.6 will have the variables properly
>                         defined, but its a long slow
>                         process converting all the files. So it looks
>                         different again.  It will
>                         mean the number of globals is drastically
>                         reduced.
>                         
>                         0.8.5 you probably need to drop the
>                         error_reporting level back down to 7
>                         in conf/config.php too.
>                         
>                          - Craig
>                         --
>                         Craig Small      GnuPG:1C1B D893 1418 2AF4
>                         45EE  95CB C76C E5AC 12CA DFA5
>                         http://www.enc.com.au/
>                         csmall at : enc.com.au
>                         http://www.debian.org/          Debian
>                         GNU/Linux, software should be Free
>                         
>                         
> ------------------------------------------------------------------------------
>                         
>                         
>                         
>                         _______________________________________________
>                         jffnms-users mailing list
>                         jffnms-users@lists.sourceforge.net
>                         
> https://lists.sourceforge.net/lists/listinfo/jffnms-users
>                         
>                 
>                 
>                 
>                 -- 
>                 Martin Parodi
>         
>         
>         
>         -- 
>         Martin Parodi
> 
> 
> 
> -- 
> Martin Parodi
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________ jffnms-users mailing list 
> jffnms-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/jffnms-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to