Quantcast
Channel: CodeIgniter Forums - All Forums

Error codeigniter4/shield/src/Authentication/Authenticators/Session.php

Hi, I just updated from CI 4.5.8 to CI 4.6.2 and Shield 1.1.0 to 1.2.0. TypeError CodeIgniter\I18n\Time::addSeconds(): Argument #1 ($seconds) must be of type int, string given, called in...

View Article


CodeIgniter v4.6.3 Released - Fixing Email Mishaps

August 2, 2025 - The CodeIgniter development is proud to announce the release of v4.6.3, which focuses on patching recent troubles in the email service when upgrading from v4.6.1 to v4.6.2. If you are...

View Article


Frankenphp worker mode script for CI4

I've been reading about the very impressive performance improvements that can be achieved with FrankenPHP as an alternative to Apache Nginx FPM. To fully benefit from the FrankenPHP worker mode (which...

View Article

CodeIgniter4 DB Connection setup using .env and config/Database.php not working

Hello, I'm using CodeIngiter 4 and try to connect to a database.  I did these steps: 1) enter info in .env; 2) modified config/Database.php; 3) made a controller file to do/test the connection. I...

View Article

undefined variable in...

The variable $callableName is not defined in the RouteCollection.php file. I accidentally discovered this problem while browsing this file. Code:private function processArrayCallableSyntax(string...

View Article


How to update shield

In my project I have installed Shield using Composer. I read the thread about new Shield version...so the questin is: how to update the installed version in my project? I've read info and doc in github...

View Article

Web Design vs Web Development

Hi everyone!  I am currently taking a short certificate program in Web Development, which includes Web Development I & II and a Digital Arts class. During my studies, I realized one important...

View Article

Multiple filters

Dear all, In one of my routes, I want to check: 1. If the user is authenticated (has a session id) 2. Check if the user completed a task (application specific filter) So, I followed the manual...

View Article


phpunit - turn off Database tests?

Hi all, I don't have an issue now, but today had an issue using phpunit.  Making this post for general discussion to whoever may be interested. It could be I was doing something wrong, or it could be...

View Article


The Art of Talking to AI: Prompts That Actually Work for Coding

The Art of Talking to AI: Prompts That Actually Work for Coding

View Article

7 Git Commands You Probably Don’t Know (But Should)

Helpful git commands (DEV.TO): https://dev.to/devshefali/7-git-commands...hould-3bnl

View Article

TypeError: fwrite(): supplied resource is not a valid stream resource

Hi there, I am new to CodeIgniter and Shield. After installing the frameworks and while testing them, I encountered a TypeError in the Shield addon,  as shown below. How do I fix this? I have done no...

View Article

CI 4.3.3 download displayed in browser instead of saving ?

I am using CI 4.3 that for technical reasons cannot be upgraded to 4.6 right now. We do need to add a function that opens a file download directly in the browser for viewing instead of opening the...

View Article


Model insert and upload file not work

Hello everyone. Sorry for my English and my CI knowledge! There was a problem loading the file. The situation is this: if I do a file upload before the insert, namely, I write this line Code:$torrFile...

View Article

Auto Routing and Validation

Hello everyone, I'm currently migrating my project to the latest version of Code Igniter and I noticed that i have used in the past often the same methode inside a Controller for post and get methods...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>