CodeIgniter Framework

CodeIgniter Framework
How do i install older version of CI4 using composer
October 10, 2023
0
Sometimes when you run git update & composer update, it updates codeigniter framework, then suddenly your app stops working unless you upgrade your codebase as per new framework requirement or downgrade to last version that you had. The below is the command to downgrade codeigniter to a version: # composer require codeigniter4/framework:4.1.5  
CodeIgniter Framework
Codeigniter 4 Tweak: How to Remove public & index.php from browser for better SEO
July 27, 2021
0
, , ,
CodeIgniter4 framework-based site page needs to browse using the public by default. If you want to remove that public from the URL & also if you want to remove index.php from URL, do the following things: Step 1: Copy public folder index.php & .htaccess to the root folder Step 2: Then in the root index.php […]
CodeIgniter Framework Coding php
Severity: Warning Message: Cannot modify header information – headers already sent by
November 13, 2019
0
, ,
Suddenly I am getting the below error message in my Codeigniter project after updating my server with new PHP upgraded version –“Severity: Warning Message: Cannot modify header information – headers already sent by“ The Simple way to solve it is write the below command in php.ini: output_buffering = On
CodeIgniter Framework Coding
CodeIgniter: How To Call A Controller from another Controller
October 2, 2015
0
Suppose you have two controllers file, one is users.php and another one is welcome.php. For some reason, you want to load the a function from users controller from inside the controller welcome. Write the below code in your welcome controller file: $this->load->library('../controllers/users'); $this->users->function_name();