Johan Seland wrote:
[Tue Sep 7 10:00:26 2004] [error] PHP Warning: Unknown(DefaultSettings.php): failed to open stream: No such file or directory in /mn/sarpanitu/ansatte-u20/johans/www_docs/wiki/config/index.php(374) : eval()'d code on line 8 [Tue Sep 7 10:00:26 2004] [error] PHP Warning: (null)(): Failed opening 'DefaultSettings.php' for inclusion (include_path='.::/includes:/languages') in /mn/sarpanitu/ansatte-u20/johans/www_docs/wiki/config/index.php(374) : eval()'d code on line 8
[snip]
What I have notived is that there is no "Installation directory", could this be the source of the problem?
Yeah, that's pretty suspicious...
The install base directory is obtained with the getcwd() function. From its documentation:
Note: On some Unix variants, getcwd() will return FALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does. See chmod() for more information on modes and permissions.
This may perhaps be biting you. Try taking this bit of code in config/index.php:
chdir( ".." ); $conf->IP = getcwd(); $conf->IP = preg_replace( "/\\/","\\\\",$conf->IP ); // For Windows, \ -> \ chdir( "config" );
and replace it with this:
$conf->IP = dirname( dirname( __FILE__ ) );
Hopefully the latter should be more reliable.
-- brion vibber (brion @ pobox.com)