J'ai installé fluxBB version 15.10 en local sans problèmes avec un accès phpmyadmin
un membre dont j'ai renommé le groupe en admin pour ne pas avoir à changer le paramètre
superuser dans Dokuwiki (install fraîche sans greffon, autres que ceux embarqués et authpdo).
En suivant les instructions de la page du greffon
authpdo :
Paramètre d'authentification
authtype sur authpdo
Valeur de
passcrypt à sha1
Ensuite dans la section de configuration d'authpdo :
fonction debug activée
DNS :
mysql:host=localhost;dbname=mydatabase
(essayé aussi avec ;charset=utf8 à la fin)
userdb :
fluxbb
userpasswd :
fluxbb
J'ai les messages d'erreur :
authpdo: could not find driver [auth.php:51]
Impossible de se connecter à la base de données.
Authentication system changed. Please re-login.
Pourtant, pdo_mysql est bien installé
retour de php info
pdo_mysql
PDO Driver for MySQL enabled
Client API version 5.5.52
Directive Local Value Master Value
pdo_mysql.default_socket /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock
et
lsof -p 29769 | grep "pdo"
apache2 29769 root mem REG 8,1 27784 141663 /usr/lib/php5/20121212/pdo_sqlite.so
apache2 29769 root mem REG 8,1 36008 137783 /usr/lib/php5/20121212/pdo_mysql.so
apache2 29769 root mem REG 8,1 113984 142679 /usr/lib/php5/20121212/pdo.so
le conf/local.php :
$conf['title'] = 'Wiki Test';
$conf['start'] = 'accueil';
$conf['lang'] = 'fr';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['autopasswd'] = 0;
$conf['authtype'] = 'authpdo';
$conf['passcrypt'] = 'sha1';
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
$conf['plugin']['authpdo']['debug'] = 1;
$conf['plugin']['authpdo']['dsn'] = 'mysql:host=localhost;dbname=fluxbb';
$conf['plugin']['authpdo']['user'] = 'fluxbb';
$conf['plugin']['authpdo']['pass'] = '<b>Zmx1eGJi';
Obligé de revenir au conf/local.php original pour reprendre la main.
Problème de connexion à la base de données. Et de ton côté ?
EDIT : problème de pare-feu. Cela marche.
Reste les autres options à étudier :
SQL Statement to select the data of a single user
plugin»authpdo»select-user-groupsdanger
SQL Statement to select all groups of a single user
plugin»authpdo»select-groupsdanger
SQL Statement to select all available groups
plugin»authpdo»insert-userdanger
SQL Statement to insert a new user into the database
plugin»authpdo»delete-userdanger
SQL Statement to remove a single user from the database
plugin»authpdo»list-usersdanger
SQL Statement to list users matching a filter
plugin»authpdo»count-usersdanger
SQL Statement to count users matching a filter
plugin»authpdo»update-user-infodanger
SQL Statement to update the full name and email address of a single user
plugin»authpdo»update-user-logindanger
SQL Statement to update the login name of a single user
plugin»authpdo»update-user-passdanger
SQL Statement to update the password of a single user
plugin»authpdo»insert-groupdanger
SQL Statement to insert a new group into the database
plugin»authpdo»join-groupdanger
SQL Statement to add a user to an exisitng group
plugin»authpdo»leave-groupdanger
SQL Statement to remove a user from a group