Components should go in the Controller::$components array(); Please feel free to read documentation any time you want:
http://manual.cakephp.org http://book.cakephp.org On Mon, Feb 25, 2008 at 6:28 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > OK. Thanks. I removed RequestHandler from $uses, but now I get this > error... > > > Call to undefined method RequestHandlerComponent::setAjax() > > > > On Feb 25, 11:23 am, nate <[EMAIL PROTECTED]> wrote: > > Probably because you created a model called RequestHandler, which you > > should delete. And/or, you added "RequestHandler" to your $uses > > array, which you should remove. > > > > On Feb 25, 2:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > Anyone know why I get "Error: Database table request_handlers for > > > model RequestHandler was > > > not found." with RequestHandler in $components? > > > > > On Feb 25, 10:10 am, "b logica" <[EMAIL PROTECTED]> wrote: > > > > > > It should be in $components, not $uses. > > > > > > On Mon, Feb 25, 2008 at 12:17 PM, [EMAIL PROTECTED] <[EMAIL > PROTECTED]> wrote: > > > > > > > Anyone know what this error is? > > > > > > > On Feb 21, 1:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > > Not in uses... > > > > > > > > var $components = array('Email', 'RequestHandler'); > > > > > > var $helpers = array('Ajax'); > > > > > > > > I tried adding to uses as this... > > > > > > > > var $uses = array('MailingList', 'RequestHandler'); > > > > > > > > 'MailingList' is my model. > > > > > > > > When I do this I get... > > > > > > > > Error: Database table request_handlers for model RequestHandler > was > > > > > > not found. > > > > > > > > On Feb 21, 12:23 pm, Jan Boonen <[EMAIL PROTECTED]> wrote: > > > > > > > > > Have you included the RequestHandler in the uses clause? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---