Show some code.
You will get that error if you try to call a model function from a controller when the function does not exist in your model. Are you sure you've attached the Tree behaviour correctly to the model you are calling? A common error is using $actAs instead of $actsAs.
On 16 Nov 2012, at 06:18, Siva Kumar <roopac....@gmail.com> wrote:
> hai, i m using tree behaviour in cakephp when will i use generateTreeList i
> am getting below error please any can help me please reply asap Error:
> SQLSTATE: Syntax error or access violation: 1064 You have an error in
> your SQL syntax; check the manual that corresponds to your MySQL server
> version for the right syntax to use near 'generateTreeList' at line 1
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.