• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.