Relative Content

Tag Archive for phpcodeigniter

CodeIgniter Shield – Problem with email field in database

i trying to make simple user management and login system. From CodeIgniter shield documentation it seems possible to make email as optional parameter by do some config in Auth.php but it seems that not possible based on database structure configuration which from the setup migration config it set as unique and not nullable field. Is there any configuration i miss or the only way is make new migration to modify the field? Also, will this impact soft delete feature because the unique parameter in the email field?

Session Timeout Issue in CodeIgniter 4

I’m working on a CodeIgniter 4 project using the Shield authentication library. I’ve encountered an issue where user sessions are logging out after a short period of time, even though I’ve extended the session expiration time.

CodeIgnitor $_POST empty on requests with different parameters

I am trying to debug a problem with an application in CI. I have experience in PHP but not with CI. This app was written by someone else. It has been running untouched for the past 4 years. In the past 10 days it started returning errors. I traced it down to a controller. It starts by checking the parameters. These include values plus an attached file and are sent using multipart/form-data.