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

(06-25-2019, 03:46 AM)InsiteFX Wrote: 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.
Unfortunately it didnt help, Im still getting a 404 page dont exist code. Trying to figure out how to fix the function.
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