On Jul 10, 3:36 am, burzum <[EMAIL PROTECTED]> wrote:
> It does not work for me :(
>
> I get always this error:
> Notice (8): Undefined index: SpindleTypeFile [CORE/backend/models/
> behaviors/upload.php, line 148]
>
> This is line 148:
> if(isset($model->data) && !is_array($model->data[$model->name]
> [$field])) {
>
> It inserts data into the table, id, created and modifyd but it
> obviously has trouble processing the file itself.
>
> Any ideas why it does not work?
You are calling save on the model without passing anything at all for
that model to save. Probably there is a typo in the name for your view
file input.
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---