Welcome Guest, Not a member yet? Register   Sign In
[solved]Unable to load the requested class: ion-auth
#1

[eluser]bobdobbs[/eluser]
I've installed a test lab: CI 2.0.2 on an apache vhost.

I've cloned the latest ion-auth packages from github. Following the instructions in the README, I've copies the ion-auth files to their respective directories in my test application.

I opened 'autoload.php' and added ion-auto to the libraries autoload array.

When I then go the default controller, I see this:

Quote:An Error Was Encountered

Unable to load the requested class: ion-auth

I thought that permissions might be a problem, so made the ion-auth.php file executable.
This made no difference.

What am I missing?
#2

[eluser]bobdobbs[/eluser]
Simple error...

I had a typo in the string I passed library element. I used this:

Quote:$autoload['libraries'] = array('ion-auth');

I should have used an underscore instead of a dash.
Quote:array('ion_auth')




Theme © iAndrew 2016 - Forum software by © MyBB