Sample News Application - News Articles? |
[eluser]Unknown[/eluser]
In the link below: Code: <p><a href="news/<?php echo $news_item['slug'] ?>">View article</a></p> I am getting this error: 404 Page Not Found The page you requested was not found. The url is: http://localhost/index.php/news/cat There is a slug 'cat'. In the view.php the code is: Code: <?php It appears to replicate the code in this link with the exception of the addition of the slug. Code: http://localhost/index.php/news So it looks like the database query is returning a null. Is that the issue? Or is there supposed to be a 'cat' article somewhere too? P.S. I t would be great to see a running application with a zip file of the code and db. P.P.S. Looks like this has been addressed here: <!--url is wrong http://ellislab.com/forums/viewthread/231159/--> Documentation issue in conjunction with routing change fixed it up. |
Welcome Guest, Not a member yet? Register Sign In |