Hi,
Here is the code from my Model:
------------------------------
class Event extends AppModel
{
var $name = 'Event';
var $belongsTo = 'Account';
// validation
var $validate = array(
'title' => VALID_NOT_EMPTY,
'start_date' => VALID_NOT_EMPTY
);
...
--------------------------------
Whenever I try to ADD or EDIT I get 4 of the following errors:
Warning: Invalid argument supplied for foreach() in
/Users/path/tomysys/www/php/plugged/cake/app_model.php on line 72
If I were to add a third validation rule, I would get 6 of the Invalid
Arguements.
any ideas what I many be doing wrong?
I'm sure I'm missing something so simple/stupid. I just can't seem to
find it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---