From: la B. <la_...@ho...> - 2011-10-11 09:25:58
|
Hi Craig and everyone else. Sorry for the massive gap in responses, work demanded I work on something else. In answer to your questions. The error is triggered when I try and save the initial config, which when setup.php loads is error free (apart from the db type I am not using), the only change I am trying to commit is the naming of the site. I have fixed the time zone issue. The error “Undefined offset: 59 in /opt/jffnms-0.9.1/conf/config.php on line 48, referer: http://th110netmon1/jffnms/admin/setup.php”. Is published to the web browser after clicking save, also appears in the apache error_log I have since upgraded to php 5.3.8 from 5.3.6-r1 due to the security vulnerability published, and I get the same error. Any pointers would be very helpful. Should I be able to edit jffnms.conf and manually define the site name? Regards, Mat. From: la_...@ho... To: jff...@li... Subject: Date: Tue, 23 Aug 2011 10:30:31 +0000 Hello guys I could use a little help, I am doing a fresh install of JFFNMS, 0.9.1. I had a few issues which I have had to work through but managed to find the answers in earlier postings. I have managed to login for the first time as admin, at the setup page I only have a few errors Satelite server, TFTP server files path and RRDTool font. Nothing I cannot fix or workout, but I am unable to save the changes. I have an error displayed above the JFFNMS Setup bar: “Warning: fopen(../../conf/jffnms.conf) [function.fopen]: failed to open stream: No such file or directory in /opt/jffnms/conf/config.php on line 90” This is mirrored in the apache error_log [Tue Aug 23 11:08:39 2011] [error] [client 10.44.10.3] PHP Warning: fopen(../conf/jffnms.conf) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /opt/jffnms/conf/config.php on line 90 After making a Setup change, like changing the site name and pressing “save change”, I get the error above then: Warning: fopen(../../conf/jffnms.conf) [function.fopen]: failed to open stream: No such file or directory in /opt/jffnms/conf/config.php on line 90 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /opt/jffnms/conf/config.php on line 43 Notice: Undefined index: logging_file in /opt/jffnms/conf/config.php on line 48 Notice: Undefined offset: 0 in /opt/jffnms/conf/config.php on line 48 Notice: Undefined offset: 1 in /opt/jffnms/conf/config.php on line 48 This error continues to offset 59 followed by a final fopen error. My timezone is defined as Europe/London and NTP works just fine. I am using Gentoo, but did not use the ebuild because the ebuild is on a much older version. This looks to possibly be a php or a permissions error because the files do exist. Vitals. php 5.3.6-r1 mysql 5.1 apache 2.2.17 rrdtool 1.4.5-r1 2.6.34-gentoo-r6 Any ideas because I am running out of them. Regards, Mat. |