List/Dafure,
I am not a programmer. I am trying to teach myself php as I do this. I am trying to activate the htpasswdform recipe on my wiki (Pmwiki V2.2.0 beta59 on Apache on windowsXP), which is an information repository for my office. I want new users to be able to set-up their own passwords. I have tried to follow the directions on the recipe page. There is a long list of configurations which I don't understand. My local/Site.HtpassForm.php looks like this: <?php # Password forms $EnableHtpassword = 1; $EnableHtgroup = 1; $HtpasswordNewUsers = 1; # Use local/.htpasswd for usernames/passwords $AuthUser['htpasswd'] = 'local/authuser/.htpasswd'; # Use local/.htgroup for group memberships # $AuthUser['htgroup'] = 'local/authuser/.htgroup'; include_once("$FarmD/scripts/authuser.php"); # HTpassword form for password/authentication management include_once("$FarmD/cookbook/htpasswdform.php"); When I try to test the user/passwd creation, I get the following message: Warning: fopen(local/authuser/.htpasswd) [function.fopen]: failed to open stream: No such file or directory in C:\wiki\wiki\cookbook\htpasswdform.php on line 541 Warning: flock() expects parameter 1 to be resource, boolean given in C:\wiki\wiki\cookbook\htpasswdform.php on line 542 Warning: fclose(): supplied argument is not a valid stream resource in C:\wiki\wiki\cookbook\htpasswdform.php on line 547 I will appreciate any help on this. Or, if someone could share a sample of their php file, it would be most helpful. By the way, I tried to install the Single-SignOn recipe but was unable to install it. Does htpasswdform and Single-SignOn work together? Thanks a lot!
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users