Welcome Guest, Not a member yet? Register   Sign In
Problem using own library.
#1

[eluser]Unknown[/eluser]
Hello,

I am getting the follow error when I try to use my own code library:

Code:
An Error Was Encountered

Unable to load the requested class: accountregistration

The Code I am using to call this Library is:

Code:
class register extends Controller {
    
     function register() {
        
         parent::Controller();
        
         // Load Account Registration Library
         $this->load->library('accountregistration');
        
     }
}

The code in the library:

Code:
<?php if (!defined('BASEPATH')) exit("No direct script access allowed");
// User Registration, Activation, and Password Retrieval Library. This Library contains all the functions
// that are used in the previously mentioned areas.
// Last Updated: December 14th, 2007
class accountregistration {
    
    function accountregistration() {
        
        // Controller Class Load Shit HEre
        
    }
}
?>

The accountRegistration.php is located in: /system/application/libraries/accountRegistration.php

Any Ideas O.o?


Messages In This Thread
Problem using own library. - by El Forum - 12-14-2007, 01:53 PM
Problem using own library. - by El Forum - 12-14-2007, 01:58 PM
Problem using own library. - by El Forum - 12-15-2007, 02:48 PM
Problem using own library. - by El Forum - 01-24-2008, 06:19 AM
Problem using own library. - by El Forum - 01-24-2008, 10:55 AM
Problem using own library. - by El Forum - 01-24-2008, 11:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB