From: joel s. <fox...@gm...> - 2006-03-06 20:31:11
|
I am learning how to setup phpwiki to require and manage passwords. My settings are to have phpwiki manage the passwords in a file, no bogo login, require passwords for any edits but allow viewing. This is working well, I add new users and passwords with either htpasswd, o= r I use the passencrypt.php page shipped with phpwiki and then cut and paste into my passwords file. I have changed ownership on the file to the apache account= . Now when I browse to the preferences page as some logged in user, I enter a new password. I get the following errors dumping out on the page. I think maybe there is some setup that I have missed? Or do I misunderstand the password system? Perhaps that page is only for changing the password in the users home page preference file and they canno= t change their password in the password file? Here are the errors at the bottom of wiki/index.php/UserPreferences after trying to input a new password...... lib/WikiUserNew.php (In template 'body' < 'html'):1116: Notice[8]: Undefine= d property: _FilePassUser::$_HomePagehandle lib/WikiUser/File.php (In template 'body' < 'html'):81: Notice[8]: Undefine= d property: File_Passwd::$_filename lib/WikiUser/File.php (In template 'body' < 'html'):82: Notice[8]: Undefine= d property: File_Passwd::$_filename lib/pear/File_Passwd.php (In template 'body' < 'html'):103: Warning[2]: fopen(.lock) [<a href=3D'function.fopen'>function.fopen</a>]: failed to ope= n stream: Permission denied lib/pear/File_Passwd.php (In template 'body' < 'html'):104: Warning[2]: flock() expects parameter 1 to be resource, boolean given lib/pear/File_Passwd.php (In template 'body' < 'html'):235: Warning[2]: Invalid argument supplied for foreach() Thanks, Joel Schaubert |