Javier, I get the same date error, on the Hosts page... It displays at the top underneath the top menu...
It doesn't seem to be stopping anything from working though, I can still manually add hosts, etc. Php 5.1.1 Mysql 4.1.1 I had to use php 5.1.1 to get the "fatal error: only variables can be passed by reference" error resolved. If I downgrade PHP again the error will come back... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Javier Szyszlican Sent: Wednesday, December 14, 2005 5:31 PM Cc: [email protected] Subject: Re: [jffnms-users] Strange errors Something is odd with your DB or your PHP. WHich versions are you using? Javier Chris Coates wrote: > I Just installed JFFNMS and got it running. It is on a Win2003 Server. > > Every time I add a host I get an error that says: > Warning: date() expects parameter 2 to be long, string given in > D:\jffnms\lib\api.inc.php on line 422 > > If I go to Administration - Hosts, these messages appear, one for each host I have added. > > Line 422 of api.inc.php reads "return str_pad(floor($unixtime/(60*60)),2,"0",STR_PAD_LEFT).date(":i:s",$unixtime); " > > I tried to search the archives for this message but did not find anything helpful. > > Another thing I am noticing, not sure if it is related, is that if click on a host, I have a list of all interfaces, the name of the interface is displayed on the purple icon with the word "unknown" under it. > > Any help is appreciated, > > Thanks > > Chris Coates > [EMAIL PROTECTED] > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that > makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > jffnms-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jffnms-users -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED] I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
