CI 2.0 system/application path problem |
[eluser]Juris Malinens[/eluser]
I use xampp portable server website is located in: Code: C:\Users\Juris\Documents\My Dropbox\xampp\htdocs system path: Code: C:\Users\Juris\Documents\My Dropbox\xampp\htdocs\system application path: Code: C:\Users\Juris\Documents\My Dropbox\xampp\htdocs\application but in C:\Users\Juris\Documents\My Dropbox\xampp\htdocs\index.php both default $system and $application values not working and full path also not working: Code: $system_path = "C:/Users/Juris/Documents/My Dropbox/xampp/htdocs/system"; When I create controller I get this: Fatal error: Class 'Controller' not found in C:\Users\Juris\Documents\My Dropbox\xampp\htdocs\application\controllers\auth.php on line 3 when I visit: http://localhost/index.php/auth my Apache DocumentRoot : Code: DocumentRoot "/Users/Juris/Documents/My Dropbox/xampp/htdocs" but Code: DocumentRoot "C:/Users/Juris/Documents/My Dropbox/xampp/htdocs"
[eluser]techgnome[/eluser]
Aren't the values relative to where the index.php file is located? Granted I'm fairly new to CI, but I've never had to change the values of where the application or system folders are located, and it works just fine for me. -tg
[eluser]wiredesignz[/eluser]
Remove the space from the directory name 'My Dropbox'!!!
[eluser]Santiago DimattÃa[/eluser]
Your constrollers must extend: - CI_Controller instead of Controller - CI_Model instead of Model
[eluser]InsiteFX[/eluser]
[quote author="Liu Guoqing" date="1289801368"]CI 2.0 system ???? Where it is???[/quote] CodeIgniter 2.0 InsiteFX
[eluser]Juris Malinens[/eluser]
Thank You, Santiago DimattÃa- with CI_Controller it works ;-) |
Welcome Guest, Not a member yet? Register Sign In |