New page can not be opened - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Regional User Groups (https://forum.codeigniter.com/forumdisplay.php?fid=25) +--- Thread: New page can not be opened (/showthread.php?tid=71760) |
New page can not be opened - Germanikus - 09-19-2018 Hello everybody, I have started a new project and also the new version of the Codeigniter. When I create a new folder in the view and create a page in it, then call this. Do I get the message Object not found !, Error 404. Now I'm just wondering why? The test page welcome.php works without problems Controller: PHP Code: defined('BASEPATH') OR exit('No direct script access allowed'); routes.php PHP Code: // $route['default_controller'] = 'pages/index'; RE: New page can not be opened - salain - 09-20-2018 Hi, What is the URL that gives your the 404 error? RE: New page can not be opened - Germanikus - 09-20-2018 .../verwaltung/haushaltsbuch/index RE: New page can not be opened - Wouter60 - 09-20-2018 It wouldn't surprise me if your route PHP Code: $route['(:any)'] = 'pages/view/$1'; …/pages/view/verwaltung/haushaltsbuch/index |