-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Cannot use Autoroute (by using the method from the documentation) #9430
Comments
spark routes what does it show, the necessary routes? |
yes if i use the routes its work, but if use autoroutes (you can define the controller name and its method name according to the convention and it will be automatically routed. In other words, there is no need to define routes manually) its doesn't work |
Please provide me with the link you used to set up the Auto Routing improved. I only see this one and everything is in order: https://codeigniter.com/user_guide/incoming/auto_routing_improved.html#enable-auto-routing-improved |
In case you meant to use Auto Routing Legacy - it also works. So you have to be more specific - what exactly is not working. |
PHP Version
8.3
CodeIgniter4 Version
4.6.0
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 11.2.2
What happened?
i enable the auto routes and follow instruction in docs but still not work, untuk i change the value in app/Config/Feature.php public bool $autoRoutesImproved = false; (the opposite of documentation)
Steps to Reproduce
before i update the framework to 4.6.0 i use 4.5.7 and it work normally, but after i update to 4.6.0 i cannot use auto route by using the method from the documentation, even i use the opposite way from documentation
Expected Output
i think if i follow the documentation it will work, but isn't
Anything else?
No response
The text was updated successfully, but these errors were encountered: