A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 243

ErrorException [ Notice ]: Only variables should be assigned by reference

SYSDIR/core/Controller.php [ 51 ]

46 			$this->$var =& load_class($class);
47 		}
48 
49 		$this->load =& load_class('Loader', 'core');
50 
51 		$this->load->_base_classes =& is_loaded();
52 
53 		$this->load->_ci_autoloader();
54 
55 		log_message('debug', "Controller Class Initialized");
56 
  1. SYSDIR/core/Controller.php [ 51 ] » MY_Exceptions::error_handler(arguments)

  2. APPPATH/controllers/welcome.php [ 8 ] » CI_Controller->__construct()

  3. SYSDIR/core/CodeIgniter.php [ 288 ] » Welcome->__construct()

  4. FCPATH/index.php [ 201 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: require_once(/usr/share/php/Doctrine/Common/ClassLoader.php): failed to open stream: No such file or directory

APPPATH/libraries/Doctrine.php [ 17 ]

12 	public function __construct() {
13 		// load database configuration and custom config from CodeIgniter
14 		require APPPATH . 'config/database.php';
15 
16 		// Set up class loading.
17 		require_once('/usr/share/php/Doctrine/Common/ClassLoader.php');
18 
19 		$doctrineClassLoader = new \Doctrine\Common\ClassLoader('Doctrine', '/usr/share/php');
20 		$doctrineClassLoader->register();
21 
22 		//        $entitiesClassLoader = new \Doctrine\Common\ClassLoader('models', rtrim(APPPATH, '/'));
  1. APPPATH/libraries/Doctrine.php [ 17 ] » MY_Exceptions::error_handler(arguments)

  2. APPPATH/libraries/Doctrine.php [ 17 ] » require_once()

  3. SYSDIR/core/Loader.php [ 950 ] » Doctrine->__construct()

  4. SYSDIR/core/Loader.php [ 826 ] » CI_Loader->_ci_init_class(arguments)

  5. SYSDIR/core/Loader.php [ 100 ] » CI_Loader->_ci_load_class(arguments)

  6. SYSDIR/core/Loader.php [ 1031 ] » CI_Loader->library(arguments)

  7. SYSDIR/core/Controller.php [ 53 ] » CI_Loader->_ci_autoloader()

  8. APPPATH/controllers/welcome.php [ 8 ] » CI_Controller->__construct()

  9. SYSDIR/core/CodeIgniter.php [ 288 ] » Welcome->__construct()

  10. FCPATH/index.php [ 201 ] » require_once(arguments)

Environment

ErrorException [ 64 ]: require_once(): Failed opening required '/usr/share/php/Doctrine/Common/ClassLoader.php' (include_path='.:/usr/share/php')

APPPATH/libraries/Doctrine.php [ 17 ]

12 	public function __construct() {
13 		// load database configuration and custom config from CodeIgniter
14 		require APPPATH . 'config/database.php';
15 
16 		// Set up class loading.
17 		require_once('/usr/share/php/Doctrine/Common/ClassLoader.php');
18 
19 		$doctrineClassLoader = new \Doctrine\Common\ClassLoader('Doctrine', '/usr/share/php');
20 		$doctrineClassLoader->register();
21 
22 		//        $entitiesClassLoader = new \Doctrine\Common\ClassLoader('models', rtrim(APPPATH, '/'));
  1. {PHP internal call} » MY_Exceptions::shutdown_handler()

Environment