preg_match(): Compilation failed in Shield and Myth/Auth |
(02-21-2023, 03:21 AM)kenjis Wrote: It seems your route is invalid. Thank you very much. I'm still learning about CodeIgniter. >php spark routes There was no problem before using Shield or Myth/Auth, but the problem occurred when using the locale as follows. App/Configuration/Routes.php /*=================================*/ $routes->group('{locale}', static function ($routes) { service('auth')->routes($routes); }); /*=================================*/ Of course there is no problem with the routing above. This problem was caused by my incorrect use of regular expressions in other route rules. (02-21-2023, 09:03 AM)datamweb Wrote: @dolsorina Are you trying to access routes {locale}/login as below?Thank you very much for your interest and reply. The problem was caused by using regular expressions that violate routing rules. |
Messages In This Thread |
preg_match(): Compilation failed in Shield and Myth/Auth - by dolsorina - 02-21-2023, 01:20 AM
RE: preg_match(): Compilation failed in Shield and Myth/Auth - by kenjis - 02-21-2023, 03:21 AM
RE: preg_match(): Compilation failed in Shield and Myth/Auth - by dolsorina - 02-24-2023, 10:22 PM
RE: preg_match(): Compilation failed in Shield and Myth/Auth - by gosocial2 - 12-24-2024, 06:55 AM
RE: preg_match(): Compilation failed in Shield and Myth/Auth - by datamweb - 02-21-2023, 09:03 AM
|