Bonjour,
J'ai crée un nouveau plugin d'authentification appelé 'Myauth' avec en support : https://docs.joomla.org/J4.x:Creatin...gin_for_Joomla.
Les sous répertoires 'services' et 'src' avec les composants qui vont bien.
Tout ceci packagé et installé.
J'active le plugin mais suite à une nouvelle connexion en admin j'ai l’erreur suivante :
Une erreur est survenue
0 Class "Joomla\Plugin\Authentication\Myauth\Extension\Mya uth" not found
Call stack
# Function Location
1 () JROOT/plugins/authentication/myauth/services/provider.php:47
2 Joomla\DI\ServiceProviderInterface@anonymous/app/inq00/intranet/plugins/authentication/myauth/services/provider.php:30$17d->{closure}() JROOT/libraries/vendor/joomla/di/src/ContainerResource.php:182
3 Joomla\DI\ContainerResource->getInstance() JROOT/libraries/vendor/joomla/di/src/Container.php:96
4 Joomla\DI\Container->get() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:177
5 Joomla\CMS\Application\CMSApplication->loadExtension() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:99
6 Joomla\CMS\Application\CMSApplication->bootPlugin() JROOT/libraries/src/Plugin/PluginHelper.php:232
7 Joomla\CMS\Plugin\PluginHelper::import() JROOT/libraries/src/Plugin/PluginHelper.php:192
8 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT/libraries/src/Authentication/Authentication.php:112
9 Joomla\CMS\Authentication\Authentication->__construct() JROOT/libraries/src/Authentication/Authentication.php:132
10 Joomla\CMS\Authentication\Authentication::getInsta nce() JROOT/libraries/src/Application/CMSApplication.php:821
11 Joomla\CMS\Application\CMSApplication->login() JROOT/libraries/src/Application/AdministratorApplication.php:341
12 Joomla\CMS\Application\AdministratorApplication->login() JROOT/administrator/components/com_login/src/Controller/DisplayController.php:82
13 Joomla\Component\Login\Administrator\Controller\Di splayController->login() JROOT/libraries/src/MVC/Controller/BaseController.php:678
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/administrator/components/com_login/src/Dispatcher/Dispatcher.php:45
16 Joomla\Component\Login\Administrator\Dispatcher\Di spatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
17 Joomla\CMS\Component\ComponentHelper::renderCompon ent() JROOT/libraries/src/Application/AdministratorApplication.php:143
18 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
19 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
20 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
21 require_once()
Qu'ai je oublié de déclarer ?
Merci pour vos réponses
Salutations
Michel
J'ai crée un nouveau plugin d'authentification appelé 'Myauth' avec en support : https://docs.joomla.org/J4.x:Creatin...gin_for_Joomla.
Les sous répertoires 'services' et 'src' avec les composants qui vont bien.
Tout ceci packagé et installé.
J'active le plugin mais suite à une nouvelle connexion en admin j'ai l’erreur suivante :
Une erreur est survenue
0 Class "Joomla\Plugin\Authentication\Myauth\Extension\Mya uth" not found
Call stack
# Function Location
1 () JROOT/plugins/authentication/myauth/services/provider.php:47
2 Joomla\DI\ServiceProviderInterface@anonymous/app/inq00/intranet/plugins/authentication/myauth/services/provider.php:30$17d->{closure}() JROOT/libraries/vendor/joomla/di/src/ContainerResource.php:182
3 Joomla\DI\ContainerResource->getInstance() JROOT/libraries/vendor/joomla/di/src/Container.php:96
4 Joomla\DI\Container->get() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:177
5 Joomla\CMS\Application\CMSApplication->loadExtension() JROOT/libraries/src/Extension/ExtensionManagerTrait.php:99
6 Joomla\CMS\Application\CMSApplication->bootPlugin() JROOT/libraries/src/Plugin/PluginHelper.php:232
7 Joomla\CMS\Plugin\PluginHelper::import() JROOT/libraries/src/Plugin/PluginHelper.php:192
8 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT/libraries/src/Authentication/Authentication.php:112
9 Joomla\CMS\Authentication\Authentication->__construct() JROOT/libraries/src/Authentication/Authentication.php:132
10 Joomla\CMS\Authentication\Authentication::getInsta nce() JROOT/libraries/src/Application/CMSApplication.php:821
11 Joomla\CMS\Application\CMSApplication->login() JROOT/libraries/src/Application/AdministratorApplication.php:341
12 Joomla\CMS\Application\AdministratorApplication->login() JROOT/administrator/components/com_login/src/Controller/DisplayController.php:82
13 Joomla\Component\Login\Administrator\Controller\Di splayController->login() JROOT/libraries/src/MVC/Controller/BaseController.php:678
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/administrator/components/com_login/src/Dispatcher/Dispatcher.php:45
16 Joomla\Component\Login\Administrator\Dispatcher\Di spatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
17 Joomla\CMS\Component\ComponentHelper::renderCompon ent() JROOT/libraries/src/Application/AdministratorApplication.php:143
18 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
19 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
20 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
21 require_once()
Qu'ai je oublié de déclarer ?
Merci pour vos réponses
Salutations
Michel
Commentaire