![]() |
Video 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: Video Tutorial (/showthread.php?tid=24844) |
Video Tutorial - El Forum - 11-22-2009 [eluser]William Rouse[/eluser] I am working on the video tutorial on creating a blog and I can not get the comment section to work. The following is the link for the comments connection within the blog_view file. Code: <p><?=anchor('blog/comments/'.$row->id, 'Comments');?></p> Code: http://localhost/CodeIgniter/CItutorialBlog/index.php/blog/comments/1 Code: Not Found Code: function comments(){ Any help as to where to start looking would be appreciated. Video Tutorial - El Forum - 11-22-2009 [eluser]überfuzz[/eluser] [quote author="William Rouse" date="1258900120"]I can see the connection in the in the address bar looks correct. Code: http://localhost/CodeIgniter/CItutorialBlog/index.php/blog/comments/1 Code: Not Found First, make sure you have a controller called blog. Also, that the controller should have a function called comments. If thats not the issue start checking you controller. Is the name spelled correctly. Code: class Blog extends //etc Video Tutorial - El Forum - 11-22-2009 [eluser]William Rouse[/eluser] I found the error. It was a spelling error between my directory names and the netbeans configuration files I made. |