@ianh

I followed your instructions, but I am now getting an SQL error during
validation! I don't understand how, why or where the query takes
place, but the error I get shows that a query ('__sanitize') is being
made to the db. I am using Zend's IDE that I purched a few years ago,
but it isn't possible for me to do much in the way of tracing when I'm
using CakePHP. I'll keep looking for why this call is made and where.
I have the standard code block:

if ( $this->Model->create() && $this->Model->save($this->data) )
{
    $this->Session->setFlash('Message');
    $this->redirect('url');
}
else {
    $this->validateErrors($this->Model);
    $this->Session->write('model', $this->data);
    $this->set('model', $this->data);
    $this->render();
    exit();
}

so I don't believe my problem's in the controller.

Thanks,

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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to