Welcome Guest, Not a member yet? Register   Sign In
Call to undefined method CI_Controller::Controller()
#6

[eluser]yuro[/eluser]
Code:
Controller.php

class CI_Controller extends CI_Base{

private static $instance;

function Controller()
{
  parent::CI_Base();
}

public function __construct()
{
  self::$instance =& $this;

  // Assign all the class objects that were instantiated by the
  // bootstrap file (CodeIgniter.php) to local class variables
  // so that CI can run as one big super object.
  foreach (is_loaded() as $var => $class)
  {
   $this->$var =& load_class($class);
  }

  $this->load =& load_class('Loader', 'libraries');
  $this->load->initialize();
  log_message('debug', 'Controller Class Initialized');
}

public static function &get;_instance()
{
  return self::$instance;
}
}

Do you mean the Controller.php? Thats the code of the file.


Messages In This Thread
Call to undefined method CI_Controller::Controller() - by El Forum - 04-24-2012, 01:37 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-24-2012, 05:35 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-24-2012, 10:05 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 08:37 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 08:39 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 08:51 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 08:53 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 09:00 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-27-2012, 09:24 AM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-28-2012, 02:52 PM
Call to undefined method CI_Controller::Controller() - by El Forum - 04-28-2012, 03:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB