Hello,

when I set $persistModel to true in my AppController everything works
fine until I try to use Model behaviours (in my case:
ExtendAssociationBehaviour;
http://bakery.cakephp.org/articles/view/add-delete-habtm-behavior)

I get the following error message:

Fatal error: Model::findAll() [function.Model-findAll]: The script tried
to execute a method or access a property of an incomplete object. Please
ensure that the class definition "ExtendAssociationsBehavior" of the
object you are trying to operate on was loaded _before_ unserialize()
gets called or provide a __autoload() function to load the class
definition in /home/www/foobar/cake/libs/model/model.php on line 1434

Is this a general problem? Can anyone try if Model behaviours work
together with persist Models?

Thanks in advance, Marcus


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