On Tue, Sep 28, 2004 at 11:37:03AM -0400, Kelly Hamlin wrote:
> Starting this afternoon, i started getting this error, any idea what 
> would cause it?
> *Warning*: Invalid argument supplied for foreach() in 
> */usr/share/jffnms/lib/api.events.inc.php* on line *260*

You reply later about this, but this problem is a general one that can
happen to anyone. Line 260 is the part that brings in the interface
fields, for example "description" refers to "FastEthernet3/42"

The problem is when you muck around with these fields, you can have a
mis-match and all queries for that interface fail. No fields then gives
this error.

If you get these sorts of errors, you probably have been changing fields
and interfaces around (as you said you did in another email).  I get it
sometimes when I need to shift interfaces and IDs around.

The other, more serious, reason for getting this is database corruption.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to