Problem with URI class

#1
[eluser]darkwalker[/eluser]
Hai All,

I have some trouble here, i build my application in wiindows and no have any errors, then when i try to move the application to the linux server, i have some error in here, like this..

Unable to load the requested class: uri

I load the uri library in constructur of my class, in windows there is no problem, but in linux show that errors..

anybody can help me???

#2
[eluser]InsiteFX[/eluser]
Did you change your system and application directories in index.php to point to the directories
Also apllication/config/config.phph -> base_url ?

Enjoy
InsiteFX

#3
[eluser]wiredesignz[/eluser]
@InsiteFX, WTF!

@darkwalker, Don't load the uri library, it is loaded by CodeIgniter bootstrap already.

#4
[eluser]darkwalker[/eluser]
[quote author="InsiteFX" date="1256193516"]Did you change your system and application directories in index.php to point to the directories
Also apllication/config/config.phph -> base_url ?

Enjoy
InsiteFX[/quote]

yes of course...

#5
[eluser]darkwalker[/eluser]
[quote author="wiredesignz" date="1256193674"]@InsiteFX, WTF!

@darkwalker, Don't load the uri library, it is loaded by CodeIgniter bootstrap already.[/quote]

so the URI class is load automated ?

#6
[eluser]khagendra[/eluser]
The URI class is initialized automatically by the system so there is no need to do it manually.

please, check your base_url setting in system/application/config/cconfig.php. and set properly this variable
Code:
$config['base_url']="http://example.com/";

#7
[eluser]darkwalker[/eluser]
Ok! my problem solved..when i try erase the load librari URI the error not show again.... thanks all.. :cheese:

#8
[eluser]lduarte[/eluser]
Can you tell me exactly what you done? because i have the same problem now... Thanky you


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.