Hi there,
I tried to set up the FileHandler from reversefolds (http://
www.reversefolds.com/articles/show/filehandler), upload works fine
when in 'array'-mode, but when I try use $_handlerType 'db' it stops
working. I found out it throws me an error 'Call to a member function
on a non-object', after the call: '$this->controller->{$this-
>_dbModel}->create();' [around line 400 in component file_handler.php]
component: file_handler.php
model: file_upload.php (refers to var $_dbModel in component)
table: file_uploads
in the calling controller: var $components = array('FileHandler');
What am I missing? Anybody any idea?
Bassy regards,
Benjamin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---