I can't view the add or view blog page according to the tutorial - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: I can't view the add or view blog page according to the tutorial (/showthread.php?tid=15669) |
I can't view the add or view blog page according to the tutorial - El Forum - 02-11-2009 [eluser]Pokhara[/eluser] Dear friends. I am a new member and just installed the code igniter and I was doing as it was showing in 20 mins video introduction. I reached till the page http://localhost/codeigniter/index.php/blog/scaffolding. However, when I click add blog or view blog, below error comes up. Please help me. Thank you Code: Not Found I can't view the add or view blog page according to the tutorial - El Forum - 02-11-2009 [eluser]therealmaloy[/eluser] @Pokhara i think the good way to start this would be to post your controller code here where you able to run and configure properly? I can't view the add or view blog page according to the tutorial - El Forum - 02-11-2009 [eluser]Pokhara[/eluser] Thank you very much, I did as it was shown in tutorial video, I have not changed any settings other than what has said in the tutorial video. However , I can't see view and add page. Here is a Blog Controller code. Thanks Code: <?php I can't view the add or view blog page according to the tutorial - El Forum - 02-11-2009 [eluser]Adi Setiawan[/eluser] have you set secret word in application/config/routes.php ? then access it using secret world i.e: http://localhost/codeigniter/index.php/blog/secretword/ http://ellislab.com/codeigniter/user-guide/general/scaffolding.html I can't view the add or view blog page according to the tutorial - El Forum - 02-11-2009 [eluser]therealmaloy[/eluser] @Pokhara your controller is fine and you should take @adi Setiawan's solution. The problem is on how you tried to use scaffolding, check-out the guide for clearer idea.. I can't view the add or view blog page according to the tutorial - El Forum - 02-12-2009 [eluser]Pokhara[/eluser] Thank you it looks silly but it was my silly mistake, when i added 'http://localhost/codeigniter' in the baseurl of config.php it worked. Thank y ou so much. |