CakePHP generatetreelist错误

时间:2013-10-25 08:14:33

标签: php mysql cakephp

我将本教程用于CakePHP中的菜单(导航)

http://my-cakephp.blogspot.com/2009/11/how-to-create-category-tree-with.html

但是我收到了这个错误:

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

1 个答案:

答案 0 :(得分:0)

方法generatetreelist()来自CakePHP 1.3版本,如果您使用的是较新版本的CakePHP,则该方法已重命名为generateTreeList()