[pmwiki-users] Problem using AuthUser [resend, truncated message]
Joshua J. Kugler
joshua at eeinternet.com
Mon Aug 6 00:52:33 PDT 2018
I'm trying to convert to AuthUser. However, when I try to login in, it goes
right back to the login screen
I have AuthUser enabled. The first part of config.php looks like:
<?php if (!defined('PmWiki')) exit();
$WikiTitle = 'My Title';
$PageLogoUrl = "$PubDirUrl/images/my_header.jpg";
$EnableUpload = 1;
$UploadPrefixFmt = '/$Group/$Name';
$EnableUploadVersions=1;
# We want to be able to enable password protection on pages
$DefaultPasswords['admin'] = array(crypt('pw'), crypt('pw2'));
$DefaultPasswords['read'] = array('@read', crypt('pw3'), crypt('pw4'));
$DefaultPasswords['edit'] = array('@edit', crypt('pw5'));
$DefaultPasswords['upload'] = array('@edit', crypt('pw6'));
# Enable AuthUser
include_once("$FarmD/scripts/authuser.php");
NOTE: using the "old" (existed before switch to AuthUser) pwX passwords still
works, as it should...just not the new user/pass combinations.
/SiteAdmin/AuthUser looks like:
user1: $!$<password created with (:encrypt wonderland:)>
---
userN: $!$<password created with (:encrypt wonderland:)>
@read: user1, user2, user3
@edit: user4, user5, user6
This is in my http logs after a login request:
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice: Use of
undefined constant ATTACH_DELETE_VERSION - assumed 'ATTACH_DELETE_VERSION' in /
home/web/mywiki.mydomain.com/wiki/cookbook/attachdel.php on line 38
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined variable: authlist in /home/web/mywiki.mydomain.com/wiki/scripts/
authuser.php on line 72
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined index: htgroup in /home/web/mywiki.mydomain.com/wiki/scripts/
authuser.php on line 85
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined index: prefs in /home/web/mywiki.mydomain.com/wiki/scripts/prefs.php
on line 34
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined variable: k in /home/web/mywiki.mydomain.com/wiki/scripts/prefs.php
on line 41
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined variable: k in /home/web/mywiki.mydomain.com/wiki/scripts/prefs.php
on line 42
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Uninitialized string offset: 0 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php
on line 922
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined offset: 2 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php(456) :
runtime-created function on line 1
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined offset: 2 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php(456) :
runtime-created function on line 1
2018-08-05 23:24:59: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:
Undefined offset: 2 in /home/web/mywiki.mydomain.com/wiki/pmwiki.php(456) :
runtime-created function on line 1
This is pmwiki-2.2.56
Any ideas how to trouble shoot this?
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A
More information about the pmwiki-users
mailing list