[SOLVED] CI Tutorial Static Page -not recognizing controller- help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: [SOLVED] CI Tutorial Static Page -not recognizing controller- help (/showthread.php?tid=69519) |
[SOLVED] CI Tutorial Static Page -not recognizing controller- help - aleifuu - 12-07-2017 Hi all, background info ---- CI version : CI 3.1.6 Host : Raspberrypi3 running debian jessie/Apache2.4/MySQL I stumbled across what will appear as a humble mistake, but god for the life of me I just couldn't figure it out yet. hopefully by sharing in this forum, I'll get somewhere with my first step to CI and its goodies ... I'm following the tutorial from CI's https://www.codeigniter.com/user_guide/tutorial/static_pages.html and basically creating new controller Pages and its related function/templates/pages/etc Problem is when I hit my server http://localhost/codeigniter/pages/view, server doesn't seem to recognize that indeed there is the controller called Pages, hence 404 ( and not the CI's 404 rendition ) Seem like a simple problem I have :
I just need to get over this obstacle to start learning and applying CI to my web application. I'm moving away from building things from scratch and going to utilize more of CI's library and helper function RE: CI Tutorial Static Page -not recognizing controller- help - InsiteFX - 12-08-2017 Did you setup your Routes file? Did you setup your config base_url? RE: CI Tutorial Static Page -not recognizing controller- help - aleifuu - 12-08-2017 (12-08-2017, 05:08 AM)InsiteFX Wrote: Did you setup your Routes file? RE: CI Tutorial Static Page -not recognizing controller- help - aleifuu - 12-08-2017 We can close this thread. I just revisited and it's working. Not sure what little changes I made. but it's great now. Cheers RE: CI Tutorial Static Page -not recognizing controller- help - InsiteFX - 12-09-2017 Just edit your topic header and add [SOLVED] RE: CI Tutorial Static Page -not recognizing controller- help - aleifuu - 12-09-2017 great one. doing it |