[eluser]ner0tic[/eluser]
I'm having an issue with my library not autoloading.
the file is called Scssauth.php and it's in system/application/libraries
i've added Scssauth to autoload['libraries'] in my config file
here is the first few lines of the library:
Code:
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Scssauth {
var $obj;
var $a_users = array();
var $d_users = array();
var $a_set = false;
var $d_set = false;
var $acl_denied = 'You are not permitted to view this page.';
function __construct() {
$this->obj =& get_instance();
$this->obj->load->database();
log_message('debug','Scssauth :: initialized => '.get_class($this->obj));
} // end function Auth()
function Scssauth() {
$this->obj =& get_instance();
$this->obj->load->database();
log_message('debug','Scssauth :: initialized => '.get_class($this->obj));
} // end function Scssauth()
This is the error from the CI logs:
Code:
DEBUG - 2009-01-20 16:06:13 --> Config Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Hooks Class Initialized
DEBUG - 2009-01-20 16:06:13 --> URI Class Initialized
DEBUG - 2009-01-20 16:06:13 --> No URI present. Default controller set.
DEBUG - 2009-01-20 16:06:13 --> Router Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Output Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Input Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Global POST and COOKIE data sanitized
DEBUG - 2009-01-20 16:06:13 --> Language Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Loader Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: url_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: form_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: date_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: cookie_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: directory_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: text_helper
DEBUG - 2009-01-20 16:06:13 --> Helper loaded: snappy_source_helper
DEBUG - 2009-01-20 16:06:13 --> Database Driver Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Application Session (Native) Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Email Class Initialized
DEBUG - 2009-01-20 16:06:13 --> Validation Class Initialized
DEBUG - 2009-01-20 16:06:13 --> User Agent Class Initialized
ERROR - 2009-01-20 16:06:13 --> Unable to load the requested class: scssauth