Well what I'm trying to do is forget about this table/database all together...it was a simple example I was trying to do in order to familiarize myself with cakephp, but I have since deleted all files related to "Post" (the controller, model, views, sql table, etc.) However when I try and load localhost cake, its telling me
"Missing controller You are seeing this error because controller PostsController could not be found. Notice: If you want to customize this error message, create app\views/ errors/missing_controller.thtml. Fatal: Create the class below in file : app\controllers \posts_controller.php <?php class PostsController extends AppController { var $name = 'Posts'; }" I just want to forget about this stupid Posts_controller and everything associated and create another application in cake without this message interfering! Quite frustrating...any advice? On Nov 13, 10:50 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Nov 13, 2007 11:17 AM, butangphp <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to create a new Cakephp application, however when I load up > > "localhost/cake" it gives me the message > > > "Missing Database Table > > > No Database table for model Post (expected " posts"), create it > > first." Posts is another application I previously made but deleted, > > and now I cannot get Cake to recognize my new application. I have > > changed the name of the database in the database.php configuration > > file so I'm not exactly sure what my problem is. Any suggestions > > would be greatly appreciated. > > It's complaining that there is no 'posts' table in your database. I > know it's a dumb question, but are you sure the table is in the > database you've specified in database.php? > > -- > Chris Hartjes > > My motto for 2007: "Just build it, damnit!" > > @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---