Page Not Found - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Page Not Found (/showthread.php?tid=65794) |
Page Not Found - davy_yg - 07-25-2016 views/addslideshows.php PHP Code: <div class="col-md-6 col-md-offset-3 well"> controllers/Cuploadfile.php PHP Code: //file upload function Models/Mpages.php PHP Code: public function add_slideshow() http://127.0.0.1/CompanyGiondaCI/index.php/cpages/addslideshows Hello, I have this funny error message when I click Upload File Button: http://127.0.0.1/CompanyGiondaCI/index.php/Cuploadfile/upload 404 Page Not Found The page you requested was not found. views/addslideshows.php PHP Code: <div class="col-md-6 col-md-offset-3 well"> RE: Page Not Found - Ivo Miranda - 07-25-2016 I also have that funny error message when I click your links RE: Page Not Found - albertleao - 07-25-2016 You just posted a localhost address... RE: Page Not Found - wolfgang1983 - 07-25-2016 Looks like you have not set your base url in config.php if your using CI3 versions you must set this value. RE: Page Not Found - davy_yg - 07-25-2016 I wonder what's the difference between: base_url(); and site_url(); example: site_url('cpages/addslideshows'); index.php/cpages/addslideshows (site_url to add more url next to index.php) If I define base_url(); will it gives any effects to site_url(); I try configuring the base_url(); and many of my navigation shows error. RE: Page Not Found - ciadmin - 07-25-2016 http://www.codeigniter.com/user_guide/helpers/url_helper.html RE: Page Not Found - InsiteFX - 07-26-2016 site_url adds index.php base_url does not I mean come on sit down and take the time to read the CodeIgniter Users Guide. |