Okay, so I'm running at debug level 2, and dumping $this with every
pageload, and validating the data before calling User->save(), but it
still isn't working. Any wisdom here?
if($this->User->validates($this->data))
{
echo "validates!";
//print_r($this->data);
if ($this->User->save($this->data))
{
echo "working at conf email!";
$this->send_confirmation_email($this->User->id);
$this->flash('Your account changes have been
saved.','/topics/');
}
else {
echo "invalid!!";
$this->validateErrors($this->User);
print_r($this);
$this->render();
}
}
validationErrors is empty when I check it from the controller or the
view, and there are absolutely no other visible errors. The
$this->User->save($this->data); call always fails inexplicably and
doesn't try to make any DB queries.
Ideas, anyone?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---