4.2.11 - 404 - File Not Found - New installation - Wampserver - 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: 4.2.11 - 404 - File Not Found - New installation - Wampserver (/showthread.php?tid=85983) |
4.2.11 - 404 - File Not Found - New installation - Wampserver - arunicbe - 12-28-2022 I just downloaded the latest version and installed in Wampserver. It worked fine. I made a controller and tried to access the controller. It shows error 404. I have an existing application with 4.1.9. I want to make test version before migrating. I do not want to define routes for all controllers. So I enabled legacy routing in Paths.php and Features.php. Still I get the error 404. How to fix this. RE: 4.2.11 - 404 - File Not Found - New installation - Wampserver - kenjis - 12-28-2022 If you want to use legacy auto-routing, you should not change Features.php. See https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html#enable-auto-routing-legacy If you set $autoRoutesImproved = true, you are using new auto-routing. https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html#auto-routing-improved RE: 4.2.11 - 404 - File Not Found - New installation - Wampserver - arunicbe - 12-29-2022 [quote pid="404832" dateline="1672286669"] Thanks. It worked. [/quote] |