[pmwiki-users] Passwords

Patrick R. Michaud pmichaud at pobox.com
Tue May 30 15:49:12 CDT 2006

On Tue, May 30, 2006 at 01:21:43PM -0700, pmwiki at 911networks.com wrote:
> I have been loosing my hair having problem with the passwords:
> I try to edit some the admin pages:
> Here is config.php
> $DefaultPasswords['admin'] = crypt('123456');
> $DefaultPasswords['edit']  = crypt('123456');
> $DefaultPasswords['attr']  = crypt('123456');
> $EnableDiag = 1;
> I have tried with both:
> $EnablePathInfo = 0;
> $EnablePathInfo = 1;
> It keeps asking for password.

While it could be a problem with crypt or encryption, usually
repeated requests for a password indicate a problem with session
handling or url redirects in the webserver.

In particular, if there are any url redirects being used to
access the page, then any passwords being submitted tend to get
lost in the redirect (which is why "disable clean urls" is a
common recommendation).

You might try explicitly setting $ScriptUrl in the local/config.php
file.  If that doesn't work, is there a url I could look at?

Also, try accessing pmwiki.php with ?action=diag -- what value
is being reported for 'DefaultPasswords'?


More information about the pmwiki-users mailing list