Relative Content

Tag Archive for codeignitercodeigniter-4

How to write a code that executes after each login in ci4

I am using codeigniter 4 to build a web application. I want users to be mandated to update their profile on first login. They should not be able to proceed without updating their profile.
Please help me on how to point me to the right direction on what to use or how to achieve this.
I tried login event with shield, but the event does not execute if page is refreshed. I tried filters too, but I am not experienced using filters.

why are records not deleted from database

I am running this function to delete the records from the database. I received the message in response as ‘successfully deleted’, but the records are not deleted from the database table.

Class CodeIgniterLogLogger” not found

I am in the progress of migrating my code from Codeigniter 4.3.4 to 4.5.1. When running through the web (auto testing doesn’t produce this error), I get the error that Class "CodeIgniterLogLogger" not found.