Joomla! 4 authentication is supported in the latest version of the development code which you can download by following the green Code button on this page. Treat it like a new release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2022-12-01
Great !! Thank you !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Uncaught exception 'Symfony\Component\ErrorHandler\Error\ClassNotFoundError' in /home/httpd/vhosts/epscl.ch/httpdocs/maitres/plugins/authentication/cookie/services/provider.php at line 39
Attempted to load class "Cookie" from namespace "Joomla\Plugin\Authentication\Cookie\Extension".
Did you forget a "use" statement for another namespace?
#0 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/vendor/joomla/di/src/ContainerResource.php(182): Joomla\DI\ServiceProviderInterface@anonymous->{closure}(Object(Joomla\DI\Container))
#1 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/vendor/joomla/di/src/Container.php(96): Joomla\DI\ContainerResource->getInstance()
#2 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Extension/ExtensionManagerTrait.php(177): Joomla\DI\Container->get('Joomla\\CMS\\Exte...')
#3 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Extension/ExtensionManagerTrait.php(99): Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Exte...', 'cookie:authenti...', '/home/httpd/vho...')
#4 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Plugin/PluginHelper.php(221): Joomla\CMS\Application\CMSApplication->bootPlugin('cookie', 'authentication')
#5 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Plugin/PluginHelper.php(181): Joomla\CMS\Plugin\PluginHelper::import(Object(stdClass), true, Object(Joomla\Event\Dispatcher))
#6 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Authentication/Authentication.php(112): Joomla\CMS\Plugin\PluginHelper::importPlugin('authentication')
#7 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Authentication/Authentication.php(132): Joomla\CMS\Authentication\Authentication->__construct('authentication')
#8 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Application/CMSApplication.php(821): Joomla\CMS\Authentication\Authentication::getInstance('authentication')
#9 /home/httpd/vhosts/epscl.ch/httpdocs/maitres/libraries/src/Application/SiteApplication.php(675): Joomla\CMS\Application\CMSApplication->login(Array, Array)
#10 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/lib/MRBS/Auth/AuthJoomla.php(38): Joomla\CMS\Application\SiteApplication->login(Array)
#11 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/lib/MRBS/Session/SessionWithLogin.php(156): MRBS\Auth\AuthJoomla->validateUser('zfjfbo', '')
#12 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/lib/MRBS/Session/SessionWithLogin.php(130): MRBS\Session\SessionWithLogin->getValidUser('zfjfbo', '')
#13 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/init.inc(31): MRBS\Session\SessionWithLogin->processForm()
#14 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/defaultincludes.inc(34): require_once('/home/httpd/vho...')
#15 /home/httpd/vhosts/epscl.ch/httpdocs/reservations/admin.php(16): require('/home/httpd/vho...')
#16 {main}
MRBS GET: Array
(
)
MRBS POST: Array
(
[csrf_token] => 7f12e85b5f7cd72693cb8dcf010664f58bb40586a3391aa3dc0137082b040790
[target_url] => index.php
[action] => SetName
[username] => ****
[password] => ****
)
MRBS SESSION: Array
(
[joomla] => TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjQ6e3M6Nzoic2Vzc2lvbiI7Tzo4OiJzdGRDbGFzcyI6Mjp7czo3OiJjb3VudGVyIjtpOjQ7czo1OiJ0aW1lciI7Tzo4OiJzdGRDbGFzcyI6Mzp7czo1OiJzdGFydCI7aToxNjgyMzM0NTMxO3M6NDoibGFzdCI7aToxNjgyMzM0NTMyO3M6Mzoibm93IjtpOjE2ODIzMzQ1MzQ7fX1zOjg6InJlZ2lzdHJ5IjtPOjI0OiJKb29tbGFcUmVnaXN0cnlcUmVnaXN0cnkiOjM6e3M6NzoiACoAZGF0YSI7Tzo4OiJzdGRDbGFzcyI6MDp7fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czoxMjoiACoAc2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MTA6ImNzcmZfdG9rZW4iO3M6NjQ6IjdmMTJlODViNWY3Y2Q3MjY5M2NiOGRjZjAxMDY2NGY1OGJiNDA1ODZhMzM5MWFhM2RjMDEzNzA4MmIwNDA3OTAiO31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6MTI6IgAqAHNlcGFyYXRvciI7czoxOiIuIjt9
)
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions_error.inc:226) in /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions.inc on line 878 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions_error.inc:226) in /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions.inc on line 865 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions_error.inc:226) in /home/httpd/vhosts/epscl.ch/httpdocs/reservations/functions.inc on line 866
Last edit: Campbell Morrison 2023-04-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Joomla! 4 authentication is supported in the latest version of the development code which you can download by following the green Code button on this page. Treat it like a new release.
Great !! Thank you !
Arghh... just updated to joomla 4.3.0 and authentication on MRBS not working anymore....
Which version of MRBS are you using? And which version of Joomla have you updated from?
MRBS 1.11.0 (maybe development code, from a link you sent me)
Joomla 4.2.9 to 4.3.0
Should I install the stable 1.11.0 release ?
Last edit: Campbell Morrison 2023-04-24
Uncaught exception 'Symfony\Component\ErrorHandler\Error\ClassNotFoundError' in /home/httpd/vhosts/epscl.ch/httpdocs/maitres/plugins/authentication/cookie/services/provider.php at line 39
Attempted to load class "Cookie" from namespace "Joomla\Plugin\Authentication\Cookie\Extension".
Did you forget a "use" statement for another namespace?
Last edit: Campbell Morrison 2023-04-24
No, stick with the code you've got. I'll investigate later.
I can reproduce the problem, but don't have a solution yet.
I have raised the issue here.
I've committed a fix for this in dae1dfb. Not the best fix, but it should be OK for the moment.
Thank you !!!
Related
Feature Requests:
#455