Welcome Guest, Not a member yet? Register   Sign In
4.2.11 - 404 - File Not Found - New installation - Wampserver
#1

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.
Reply
#2

(This post was last modified: 12-28-2022, 09:09 PM by kenjis.)

If you want to use legacy auto-routing, you should not change Features.php.
See https://codeigniter4.github.io/CodeIgnit...ing-legacy

If you set $autoRoutesImproved = true,
you are using new auto-routing.
https://codeigniter4.github.io/CodeIgnit...g-improved
Reply
#3

[quote pid="404832" dateline="1672286669"]
Thanks. It worked.
[/quote]
Reply




Theme © iAndrew 2016 - Forum software by © MyBB