Thanks Jon Bennett and frankcy06l for the suggestions. I actually did
have:

if (empty($this->data)) {
   $this->render();
}

I didn't include it in my post, as I just wanted to show what I
thought was relevant. Francky06l, in looking at the examples, I don't
believe it's required to list Form and Html in the controller. I did
replace the <form action> with <?php echo $form....?> and I added in
the controller:

// SAVE UNSUCESSFUL
// validate model errors
$this->validateErrors($this->Account);
// pass data back to view
$this->set('data', $this->data);
// render form again
$this->render();

Unfortunately, it still doesn't work and I'm still not getting any
error message. This is baffling. At first I had a lot of fields in the
table, but I now have just first and last name to keep it simple. As
the pr($this->data) shows, the Account array has data, but when the
save() gets executed, I don't see any INSERT statement when I have
debug set to 2. So it's like the save() doesn't even attempt to
insert, but I don't know what else to check in my setup that could
cause this.

Thanks,
Paul

On Aug 4, 7:06 am, francky06l <[EMAIL PROTECTED]> wrote:
> Few hints :
>
> - in your controller you do not mention the helpers : Form, Html but
> maybe the are in app_controller ?
> - try to replace the <form action> with <?php echo $form-
>
> >create(array('action' => 'create')); ?>
>
> Hope this helps


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