I'm not really sure why it does this because I'm still pretty new to
cakePHP but I had the same problem and this is how I solved it:
echo $form->create(null, array('id'=> 'form', 'type' => 'file',
'action' => '/admin/portfolio/add'));
Just give it null for the first parameter. I'm not sure if this is the
correct solution but it sure worked for me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---