Create News Item Tutorial |
[eluser]davy_yg[/eluser]
I did create news item tutorial from the help guide. At the end I point my url to: http://localhost/News/index.php/news/create 404 Page Not Found The page you requested was not found. Why is it? Do I have to fill in something in the database first ?
[eluser]davy_yg[/eluser]
I don't have a controller name create only a file name create.php views/news/create.php Code: <h2>Create a news item</h2>
[eluser]jairoh_[/eluser]
sir you must have a controller. in you controller ex. controllername.php Code: <?php http://localhost/News/index.php/controllername or http://localhost/News/controllername hope this helps.
[eluser]davy_yg[/eluser]
controllers/pages.php Code: public function create() I try : http://localhost/News/index.php/pages/create 404 Page Not Found The page you requested was not found. |
Welcome Guest, Not a member yet? Register Sign In |