On Nov 13, 2007 12:57 PM, butangphp <[EMAIL PROTECTED]> wrote: > > 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
CakePHP is expecting to find stuff in specific places, so the error message is quite accurate: it wants a PostsController. Check your routes.php file to make sure you're not defaulting to posts as the controller. -- 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
