Welcome Guest, Not a member yet? Register   Sign In
Fix an anchor issue
#3

Your constructor is using the old style.

PHP Code:
// change this
function Chat()
{
 
   parent::Controller();
 
   
    $this
->load->database('cultured_codeignite');
 
   $this->load->model('mod_chat');
 
   $this->load->library(array('session''authentication'));
}

// to this
function __construct()
{
 
   parent::__construct);
 
   
    $this
->load->database('cultured_codeignite');
 
   $this->load->model('mod_chat');
 
   $this->load->library(array('session''authentication'));


Try that and see if it works.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Fix an anchor issue - by Mekaboo - 06-24-2019, 09:02 PM
RE: Fix an anchor issue - by php_rocs - 06-24-2019, 10:10 PM
RE: Fix an anchor issue - by Mekaboo - 06-25-2019, 11:07 AM
RE: Fix an anchor issue - by InsiteFX - 06-25-2019, 03:46 AM
RE: Fix an anchor issue - by Mekaboo - 06-25-2019, 11:09 AM
RE: Fix an anchor issue - by php_rocs - 06-25-2019, 10:10 PM
RE: Fix an anchor issue - by Wouter60 - 06-25-2019, 10:11 PM
RE: Fix an anchor issue - by Mekaboo - 06-26-2019, 12:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB