I've just started using Flexi auth.
I like the features very much and, decided to use it for my next big project. An ERP system for my self.
I have a big problem with the login part.
I get these warnings everytime i try to login:
Quote:A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: models/flexi_auth_model.php
Line Number: 1770
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: models/flexi_auth_model.php
Line Number: 1773
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: models/flexi_auth_model.php
Line Number: 1773
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/mpanel/system/core/Exceptions.php:185)
Filename: libraries/Session.php
Line Number: 675
My controller:
Code:
class Auth extends CI_Controller{
function __construct(){
parent::__construct();
$this->auth = new stdClass;
// Load 'standard' flexi auth library by default.
$this->load->library('flexi_auth');
}