Hi Friends,
I m getting this error in add action in a controller
Notice: Undefined index: Data cake\app_model.php on line 43
Notice: Undefined index: Media in cake\app_model.php on line 43
I have this function inside app_model.php
function _implode($model, $field)
{
if($this->data[$model][$field]!="")
return(substr(implode(",",$this-
>data[$model][$field]),1));
else return false;
}
it triggers to Inserts with the primary key value missing
90 INSERT INTO `data` () VALUES ()
92 INSERT INTO `media` () VALUES ()
Any idea wahts wrong ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---