"you have specified an invalid database connection group codeigniter error" Answer’s

0

You are loading a database group called circrud. But there are no database group called that. The only one you have is a group called default which will be loaded by default if you don't specify a group.

$this->load->database('cicrud');

You should just do

$this->load->database(); in this part of the code:

class Users_model extends CI_Model {

function __construct()

{

parent::__construct();

$this->load->database();

}
Wednesday, March 31, 2021
 
janlindso
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :
 
Share