The error should also give a filename and line number, so you can see
where the problem is.  Basically it's when you have an array, and you
try to access an array key that doesn't exist, eg:

$data = array('id'=>1,'title'=>'hello');
echo $data['body'];

will give a warning about accessing undefined index 'body', as that
index doesn't exist in the $data array.



On Aug 20, 6:16 pm, Matt <[EMAIL PROTECTED]> wrote:
> I keep getting undefined index field_name - I find sometimes it is a
> foreign key and others it is just a field_name in the index list.
>
> Is there a way to determine what exactly this error means. I'm net to
> cake so I'm not quite sure what to make of it.
>
> Thanks for any help.


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