Closed rhsboss closed 1 year ago
8.1
4.4.1
Composer (using codeigniter4/appstarter)
codeigniter4/appstarter
Windows
cli-server (PHP built-in webserver)
10.4.22-MariaDB
Followed the tutorial in user_guide and got a "404" page not found exception when the URI: /news/create
-> https://codeigniter.com/user_guide/tutorial/create_news_items.html
Follow the steps in the user guide: https://codeigniter.com/user_guide/tutorial/create_news_items.html
A form with the following:
Solution change the URI From: http://localhost:8080/news/create To: http://localhost:8080/news/new
Thank you for reporting.
I sent a PR #8001.
It was fixed in develop branch. See https://codeigniter4.github.io/CodeIgniter4/tutorial/create_news_items.html#create-a-news-item
develop
PHP Version
8.1
CodeIgniter4 Version
4.4.1
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli-server (PHP built-in webserver)
Database
10.4.22-MariaDB
What happened?
Followed the tutorial in user_guide and got a "404" page not found exception when the URI: /news/create
-> https://codeigniter.com/user_guide/tutorial/create_news_items.html
Steps to Reproduce
Follow the steps in the user guide: https://codeigniter.com/user_guide/tutorial/create_news_items.html
Expected Output
A form with the following:
Anything else?
Solution change the URI From: http://localhost:8080/news/create To: http://localhost:8080/news/new