From: Arno H. <aho...@in...> - 2000-11-01 11:39:23
|
> On my system I have PHP set to show non-critical warning, like referring to > a variable before defining its value. > phpwiki emits a lot of these. I think it's better to remove the cause of these notices, instead of just suppressing them. Thus I fixed 99.9% of those warnings just now. Actually this revealed some serious errors, like e.g. $FieldSeparator not defined as "global" in some functions, or e.g. dbm not closing the dbm-files. > ini_set("error_reporting", ini_get("error_reporting") & 2039); > It is also php4 specific. I added "error_reporting(E_ALL ^ E_NOTICE)" to index.php which is useable for both php3 and php4. I suggest that everyone on this list removes "^ E_NOTICE" when testing phpwiki. > I'd like to suggest that on lines 30 and 33 of lib/config.php $REQUEST_URI > be replaced with $SCRIPT_NAME. The REQUEST_URI environment variable is Done. /Arno |