Thursday, November 15, 2012

Re: Database Error

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.php@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[42000]: 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
>
>
>
> -----
> Shiva Kumar
> --
> View this message in context: http://cakephp.1045679.n5.nabble.com/Database-Error-tp5712295.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate