From: Reini U. <ru...@x-...> - 2004-05-16 12:08:47
|
Damian Bierman schrieb: > i'm having a problem getting going with 1.3.10 (current), which i > downloaded today. i've got everything set up and configured according to > the docs, no problem, but when i load the main page, i encounter the > following error: > > *Fatal error*: Cannot instantiate non-existent class: file_passwd in > *phpwiki/lib/WikiUserNew.php* on line *2122 You have to add "./lib/pear" to your include_path. I thought I fixed that automatically, but obviously not. > *which refers to this code: > > // "__PHP_Incomplete_Class" > if (!empty($file) or empty($this->_file) or > !isa($this->_file,"File_Passwd")) $this->_file = new File_Passwd($file, > $lock, $lockfile); > > i'm using php 4.3.6 on a gentoo linux box (kernel 2.4.21), against a > mysql 3.2.1 database. i should note that my previous phpwiki > installation (1.2.something) worked fine against the same setup, and > that this is a completely fresh installation (i.e. not an upgrade). Using the old WikiUser.php code by ENABLE_USER_NEW = false is not recommended. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |