I have one admin panel
- where i can create multiple companies.
- for each companies, I am creating new database.
- each company database credentials are being store in master database.
- database credentials are being loaded based on subdomain of each company.
- everything running smoothly.
I have another system setup where
- I have setup dummy database in database.php file.
- and in every model, i am creating new database connection and assign that db to current db
like this :
$this->load->model('utility_model');
$this->db = $this->utility_model->get_db();
Issue:
- I have started getting error in form_valdiation library with below error
Type: Error
Message: Call to a member function limit() on array
Filename: /home/vaksys/public_html/kallol/system/libraries/Form_validation.php
Line Number: 1129
Backtrace:
File: /home/vaksys/public_html/kallol/application/controllers/Auth.php
Line: 602
Function: run
File: /home/vaksys/public_html/kallol/index.php
Line: 315
Function: require_once
I don't what is the issue. what should I correct to what ?