Welcome Guest, Not a member yet? Register   Sign In
Unable to load the requested class
#6

[eluser]briang[/eluser]
OK, I think I understand the "MY_" prefix better now. It is only for extending native CI classes.

Other than that, library files do not need the prefix. Correct?

I was trying to (excuse my terminology) "double extend" the Controller.

Theoretically, I was trying to do this: "Auth extends MY_Controller extends Controller".
Was attempting this by creating an Auth.php that extends MY_Controller, while having the MY_Controller.php extend Controller. Then in application/controllers/, create a controller class 'New extends Auth', to gain a level of authentication.


Messages In This Thread
Unable to load the requested class - by El Forum - 10-02-2009, 06:53 PM
Unable to load the requested class - by El Forum - 10-02-2009, 07:22 PM
Unable to load the requested class - by El Forum - 10-02-2009, 09:21 PM
Unable to load the requested class - by El Forum - 10-03-2009, 12:51 AM
Unable to load the requested class - by El Forum - 10-03-2009, 05:14 AM
Unable to load the requested class - by El Forum - 10-03-2009, 05:40 AM
Unable to load the requested class - by El Forum - 10-03-2009, 05:46 AM
Unable to load the requested class - by El Forum - 10-03-2009, 08:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB