I get the same error as Hubbo. I'm new to this, and I don't see how
the controller gets the component, unless the controller is supposed
to call the components start method. I modified the listed code in my
app_controller file as follows:
function beforeFilter()
{
$error = '';
$this->DAuth->controller = $this;
$this->DAuth->newSalt();
$this->set('error', $error);
$this->set('allowcleartext', $this->DAuth->allowClearText);
}
Assigning $this to the d_auth controller. I don't know if I'm doing
this correctly, but I don't get the error now.
Michael Tuzi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---