![]() |
Create News Item Tutorial - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Create News Item Tutorial (/showthread.php?tid=58995) |
Create News Item Tutorial - El Forum - 08-12-2013 [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 ? Create News Item Tutorial - El Forum - 08-12-2013 [eluser]PravinS[/eluser] can you please paste "create" controller code here Create News Item Tutorial - El Forum - 08-13-2013 [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> Create News Item Tutorial - El Forum - 08-13-2013 [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. Create News Item Tutorial - El Forum - 08-13-2013 [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. |