Missing Controller ... Why What How
I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
Check whether you named the class correctly and whether the permissions of the file are ok. Claudia On Feb 22, 10:16 am, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
What debug level are you using? Also try setting var $uses = array(); , if it works then you have no Account model. On Fri, Feb 22, 2008 at 8:34 AM, Comida411 [EMAIL PROTECTED] wrote: Okay found a spelling error on the Accounts_Controllers At first I had this. ?php class AccountController extends AppController { var $name = 'Accounts'; function index() { } } ? I changed it to this ?php class AccountsController extends AppController { var $name = 'Accounts'; function index() { } } ? But now I am getting this error.. Fatal error: Class 'Account' not found in C:\Program Files\xampp\htdocs \cake\cake\libs\class_registry.php on line 128 Did I do something bad in a previous life? Thak you for your suggestion on this new error Sincerely Conuda On Feb 22, 2:22 am, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: PHP4 ? try putting var $name = 'Accounts'; Also, it will be useful to double check the file name and class name, pay attention to case. On Fri, Feb 22, 2008 at 7:16 AM, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
Okay found a spelling error on the Accounts_Controllers At first I had this. ?php class AccountController extends AppController { var $name = 'Accounts'; function index() { } } ? I changed it to this ?php class AccountsController extends AppController { var $name = 'Accounts'; function index() { } } ? But now I am getting this error.. Fatal error: Class 'Account' not found in C:\Program Files\xampp\htdocs \cake\cake\libs\class_registry.php on line 128 Did I do something bad in a previous life? Thak you for your suggestion on this new error Sincerely Conuda On Feb 22, 2:22 am, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: PHP4 ? try putting var $name = 'Accounts'; Also, it will be useful to double check the file name and class name, pay attention to case. On Fri, Feb 22, 2008 at 7:16 AM, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
PHP4 ? try putting var $name = 'Accounts'; Also, it will be useful to double check the file name and class name, pay attention to case. On Fri, Feb 22, 2008 at 7:16 AM, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
You can already guess the problem.. of course I have that controller in the appcontoller folder.. should be appcontrollers folder. Also the filename should be accounts_controller.php and the code in the filename should be class AccountsController extends AppController { var $name = 'Accounts'; //rest of the controller } Please have a check again. On Fri, Feb 22, 2008 at 3:16 PM, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php -- Best Regards, Tapos Pal http://tapos.wordpress.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing Controller ... Why What How
You have no model so that you found those errors. Use bellow ?php class AccountsController extends AppController { var $name = 'Accounts'; var $uses = array(); // this will allow you to go without a model function index() { } } ? Hope this will work. On Fri, Feb 22, 2008 at 4:34 PM, Comida411 [EMAIL PROTECTED] wrote: Okay found a spelling error on the Accounts_Controllers At first I had this. ?php class AccountController extends AppController { var $name = 'Accounts'; function index() { } } ? I changed it to this ?php class AccountsController extends AppController { var $name = 'Accounts'; function index() { } } ? But now I am getting this error.. Fatal error: Class 'Account' not found in C:\Program Files\xampp\htdocs \cake\cake\libs\class_registry.php on line 128 Did I do something bad in a previous life? Thak you for your suggestion on this new error Sincerely Conuda On Feb 22, 2:22 am, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: PHP4 ? try putting var $name = 'Accounts'; Also, it will be useful to double check the file name and class name, pay attention to case. On Fri, Feb 22, 2008 at 7:16 AM, Comida411 [EMAIL PROTECTED] wrote: I am getting the following error... Missing Controller Error: AccountsController could not be found. Error: Create the class AccountsController below in file: app \controllers\accounts_controller.php You can already guess the problem.. of course I have that controller in the appcontoller folder.. Why can't cake see it.. I already checked on spelling Helpme Thak you Comida mu contoller is names accounts_controller.php -- Best Regards, Tapos Pal http://tapos.wordpress.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---