Welcome Guest, Not a member yet? Register   Sign In
[solved]Custom Library Load Failure
#1

[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


Messages In This Thread
[solved]Custom Library Load Failure - by El Forum - 01-20-2009, 06:34 PM
[solved]Custom Library Load Failure - by El Forum - 01-20-2009, 11:14 PM
[solved]Custom Library Load Failure - by El Forum - 01-21-2009, 04:36 AM
[solved]Custom Library Load Failure - by El Forum - 01-22-2009, 03:25 PM
[solved]Custom Library Load Failure - by El Forum - 01-22-2009, 05:00 PM
[solved]Custom Library Load Failure - by El Forum - 01-22-2009, 05:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB