What URL are you using?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of vikas Sent: Monday, December 22, 2008 4:29 AM To: CakePHP Subject: problem with tablenames hello all I want to know about table's naming convention. I have table which I gave name project_users. now my model's coding for this model is: <?php class ProjectUser extends AppModel { var $name = 'ProjectUser'; ?> and controller's coding is: <?php class ProjectUsersController extends AppController { var $name = 'ProjectUsers'; } ?> now when I try to view index of this table cakephp gives me error like this: ********************************************** Missing Controller Error: ProjectusersController could not be found. Error: Create the class ProjectusersController below in file: app \controllers\projectusers_controller.php <?php class ProjectusersController extends AppController { var $name = 'Projectusers'; } ?> ****************************************************** so is there a need to change table name for follow the naming convention of cakephp? and if not then what to do solve this error? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
