codeigniter 4.1.8 - Session: Initialization under CLI aborted. |
(11-30-2023, 04:14 AM)engel Wrote: Maybe this is too late but in case anyone might come across to this problem, "Session: Initialization under CLI aborted." implies that your application is autoloading the session library while you are using CLI. @paulbalandan is right that you can't really access Session in CLI. In my case, I needed the Session to be auto-loaded, so I had to exclude the controller that was used for CLI access from the Before Filters. Hope this helps and still relevant. You're brilliant Engel! That's an excellently elegant work-around! Thanks. |
Messages In This Thread |
codeigniter 4.1.8 - Session: Initialization under CLI aborted. - by magu - 02-11-2022, 07:21 AM
RE: codeigniter 4.1.8 - Session: Initialization under CLI aborted. - by paulbalandan - 02-11-2022, 08:15 PM
RE: codeigniter 4.1.8 - Session: Initialization under CLI aborted. - by engel - 11-30-2023, 04:14 AM
RE: codeigniter 4.1.8 - Session: Initialization under CLI aborted. - by Gary - 01-24-2024, 03:02 PM
|