Solved....i defined a constructor in my model and forgot to call the AppModel-constructor ^^
On 20 Nov., 14:38, leberle <[email protected]> wrote: > Hi dudes, i'm trying to use a self-written datasource and got some > problems. i made my model use my datasource, now i get the error "Call > to a member function dispatchMethod() on a non-object in /var/www/ > my_project/cake/libs/model/model.php on line 435" ...which is strange, > as my model has no behaviros definied and the call in the core that > raises the error is > > $result = $this->Behaviors->dispatchMethod($this, $method, $params); > > ADmad from #cakephp told me that this is kind a strange as normaly the > behaviros-object should be created even if there are no behaviros > bound to the model...any ideas? -- You received this message because you are subscribed to the Google Groups "CakePHP" 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=.
