Thanks, the first incantation did the trick... will have to
see if I can upgrade php on the server as well, thanks
again for your prompt help!
Cheers
Bill
Brion Vibber wrote:
On Jan 31, 2004, at 11:57, William Dossett wrote:
<b>Warning</b>: stat failed for
/home/justin/justin.com/htdocs/wiki/upload/lock_yBgMBwiR (errno=2 -
No such file or directory) in
<b>/home/justin/justin.com/htdocs/wiki/GlobalFunctions.php</b> on
line <b>161</b><br>
[snip]
php 4.1.0
Looking through the docs... looks like on PHP 4.1.0 is_file() prints a
warning message if the file doesn't exist. How... helpful. :P
Try changing the line to:
return @is_file( $wgReadOnlyFile );
or if that doesn't help,
return file_exists( $wgReadOnlyFile );
Note that we mainly target PHP 4.3.x, though we try not to break
compatibility with 4.1.x and 4.2.x.
-- brion vibber (brion @
pobox.com)
------------------------------------------------------------------------
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)Wikipedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l