CodeIgniter Forums
could someone please help out a newbie - 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: could someone please help out a newbie (/showthread.php?tid=9649)



could someone please help out a newbie - El Forum - 07-02-2008

[eluser]oysterking[/eluser]
i am stuck !!! why can't my browser open the hello world blog.php page. i have reinstalled CI i did not change any settings in the app/config this time. i am getting file cannot be found !!!!

i guess i was supposed to install some kind of web server. the install directions never said yea or nea. i installed wamp. is that correct ?

this is what i called for in my address bar

http://localhost/codeigniter/codeigniter_1.6.3/system/application/controllers/blog.php

what do i not understand, please help me!!!!


could someone please help out a newbie - El Forum - 07-02-2008

[eluser]Pascal Kriete[/eluser]
CodeIgniter uses a so called front controller, which handles all the calls and redistributes them according to the rest of the url. That file is index.php . Try calling http://localhost/codeigniter/codeigniter_1.6.3/index.php to get the homepage.

Then, to get the blog controller you simply add /blog to the end, so you're calling http://localhost/codeigniter/codeigniter_1.6.3/index.php/blog .


could someone please help out a newbie - El Forum - 07-02-2008

[eluser]oysterking[/eluser]
oh thank you great inparo. i can see now. thanks for the helping out a brutha.