From: Damian B. <neb...@ma...> - 2004-05-15 23:46:03
|
dear php-wiki team: 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 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). can anybody help me? thanks! -damian |
From: Damian B. <neb...@ma...> - 2004-05-16 00:06:47
|
hi again, i temporarily skirted the issue by setting ENABLE_USER_NEW = false in config.ini. maybe this should be the default until the feature is a bit less experimental? ...just a thought. anyway i'm up and running now. thanks for a great wiki implementation! -damian On May 15, 2004, at 19:45, Damian Bierman wrote: > dear php-wiki team: > > 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 > > 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). > > can anybody help me? > > thanks! > -damian |
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/ |
From: Reini U. <ru...@x-...> - 2004-05-16 22:40:09
|
Damian Bierman schrieb: > thanks for the tip! unfortunately, adding ./lib/pear to my include_path > did not fix the problem. i also tried feeding the absolute path, and > that didn't work either. Try adding ./lib/pear before the other paths. It looks like you loaded an old pear File_Passwd.php module, which misses some features we need. > any other ideas? > > On May 16, 2004, at 08:10, Reini Urban wrote: > >> 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/ |