this piece of code is in the post.php <?php class Post extends AppModel { var $name = 'Post'; } ?>
this piece of code in the posts_controller.php <?php class PostsController extends AppController { var $name = 'Posts'; function index() { $this->set('posts', $this->Post->find('all')); } function view($id = null) { $this->Post->id = $id; $this->set('post', $this->Post->read()); } } ?> I have done nothing complicated..!!! jus followed the blog tutorials On Sep 8, 12:12 pm, brian <bally.z...@gmail.com> wrote: > Can you post the controller action that throws this error? > > On Tue, Sep 8, 2009 at 12:09 AM, new2cakephp<shabaris...@gmail.com> wrote: > > > Hi all, > > > I am new to cakephp, started working on the blog tutorials, > > > Missing Database Table > > Error: Database table posts for model Post was not found. > > > have got this error, checked the naming conventions but still no > > solution > > help me on this > > > thanks all --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---