On my WAMP box, I did the following:
- Added a file called /application/libraries/Foo.php
- Foo.php is a class, and it's name is
Foo
- In /application/config/autoload.php, I added
$autoload['libraries'] = array('foo');
Everything works fine. When I upload to my LAMP box, I get the following error:
Unable to load the requested class: foo
Permission of /application/libraries/Foo.php is 0755. Owner is the same as the rest of the CI files. Taking foo
out from autoload makes the problem go away.
Any ideas what might be wrong?