Welcome Guest, Not a member yet? Register   Sign In
Documentation ? and Requests
#1

(This post was last modified: 03-26-2019, 06:51 PM by ciadmin. Edit Reason: Edited formatting )

From https://www.codeigniter.com/user_guide/i...e_300.html

This not clear to me.  it says rename active_record ; but shows, active_group and a query_builder variable? 

Suggest edit[a) you need to add the following (if not there)
or
b)You need to change the following
or
3) This is what it looks like

Step 7: Update your config/database.php


Due to 3.0.0’s renaming of Active Record to Query Builder, inside your config/database.php, you will need to rename the 
Code:
$active_record

 variable to 

Code:
$query_builder

:

$active_group = 'default';
// $active_record = TRUE;
$query_builder = TRUE;
I wrote my first program in 15 minutes. It took me 3 hours to keypunch it.

I wrote my first BASH script in 5 minutes. It took me a day to find out I had to put a . (period) in front of it to get it to execute.
Reply
#2

(This post was last modified: 03-27-2019, 03:51 AM by InsiteFX.)

If your use CodeIgniter 3.1.10 then you do not need to change anything, it has already been changes.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB