CodeIgniter Forums
unable to load requested class uri, - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: unable to load requested class uri, (/showthread.php?tid=30275)



unable to load requested class uri, - El Forum - 05-09-2010

[eluser]Pokhara[/eluser]
I have just migrated and installed my halfway project in CentOS 5.4, it says

An error was encountered
unable to load requested class : uri

Even when i am not loading in autoload.If anybody help me to solve this, I would thank a million. Lost many hours just to figure this. Thanks


unable to load requested class uri, - El Forum - 05-09-2010

[eluser]WanWizard[/eluser]
You get that message if the file can not be read. So check the permissions on your files, in this case ./system/libraries/uri.php.


unable to load requested class uri, - El Forum - 05-09-2010

[eluser]Pokhara[/eluser]
i did chmod 0777 URI.php
no luck


unable to load requested class uri, - El Forum - 05-10-2010

[eluser]WanWizard[/eluser]
Where in your code do you get this error, because it mentions 'uri' in lowercase, while the file is called URI.php (uppercase), and the frontcontroller loads it as such.

On linux, filenames are case-sensitive, so uri.php is a different file from URI.php.