[ previous ] [ next ] [ threads ]
 
 From:  "Michael Rohde" <mrohde at comcast dot net>
 To:  "'Tomek Szewczyk'" <tomszewczyk1 at wp dot pl>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Warning: filemtime() problem and php opens for saving
 Date:  Thu, 21 Sep 2006 11:45:02 -0400
Tomek,

While clearly not and expert on the inner workings of m0n0wall or php, I
would suggest a close look at your floppy drive or the device where your
config.xml file resides.

Here is the routine in question:

123 /* see if there's a newer cache file */
	124	if (file_exists("{$g['tmp_path']}/config.cache") && 
	125		(filemtime("{$g['tmp_path']}/config.cache") >= 
	125		 filemtime("{$g['conf_path']}/config.xml"))) {

Mike Rohde
www.monroepark.com

-----Original Message-----
From: Tomek Szewczyk [mailto:tomszewczyk1 at wp dot pl] 
Sent: Thursday, September 21, 2006 7:04 AM
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] Warning: filemtime() problem and php opens for saving

Got another problem: After some time I get at the top of webGui pages 
this error:
Warning: filemtime(): Stat failed for /conf/config.xml (errno=2 - No 
such file or directory) in /etc/inc/config.inc on line 126

Sometimes also php pages open for saving ... I have to go back and hit 
link couple times again to work.
Thats my second installation of m0n0wall on another hard drive - still 
the same errors.
I read that this is due to filesystem errors. Whats the problem ? How to 
fix it ?

Cheers,
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch