when class GroupTreeBehavior extending class TreeBehavior, I got this
error:
[quote]
Fatal error: Class 'TreeBehavior' not found in /var/www/cakephp/app/
models/behaviors/group_tree.php on line 2
[/quote]
line 2 is:
[code]
class GroupTreeBehavior extends TreeBehavior
[/code]
what's the problem
my problem solved just by adding this line before class definition:
App::import('Behavior','Tree');
thanks :)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google