I just want a set-and-forget Wiki, but every time I upgrade Dokuwiki it seems something breaks.
My current issue is this message, on a pink background:
Your authtype setting is deprecated. You must set $conf['authconfig'] = authmysql in your config
So I replaced
$conf['authtype'] = 'mysql';
with
$conf['authconfig'] = authmysql;
and then nobody could log in.
So then I put
$conf['authtype'] = 'mysql';
back, leaving
$conf['authconfig'] = authmysql;
as well, but I still get the pink message.
Here is the totality of my local.conf file:
$conf['title'] = 'My Wiki';
$conf['lang'] = 'en';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['mailfrom'] = $conf['title'] . ' admin' . ' <do-not-reply@mydomain.net>';
$conf['authtype'] = 'mysql';
$conf['authconfig'] = authmysql;
require_once ('mysql.conf.php');
In words of one syllable, what else do I need to know? Have I suddenly started "using a plugin" without knowing it? Do I need to define "authmysql", which looks like some kind of PHP constant?
I thought maybe I could do whatever it is that I need to do via "Admin"/"Configuration settings"/"Plugin settings"/"Authmysql Plugin Settings", but I'm slightly surprised to see that all the fields there are blank. I'd expect them to be filled in with the values from mysql.conf.php, which defines a valid database server, username, password, DB name, assorted SQL strings, etc. Is there meant to be some relationship between mysql.conf.php and the plugin settings manager? Or do I need a plugin to manage the plugins? Did I miss something in the upgrade from v38 to v40? Maybe I'm running on deprecated "non-plugin" authentication code, etc etc.
Thanks for helping a confused newbie...
PS: I have 38 years of programming experience, but having to learn 100,000 pages of documentation for a new system is getting rather tedious. :)