![]() |
[solved]Unable to load the requested class: ion-auth - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: [solved]Unable to load the requested class: ion-auth (/showthread.php?tid=43627) |
[solved]Unable to load the requested class: ion-auth - El Forum - 07-18-2011 [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 I thought that permissions might be a problem, so made the ion-auth.php file executable. This made no difference. What am I missing? [solved]Unable to load the requested class: ion-auth - El Forum - 07-18-2011 [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') |