0

我在 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
4

1 回答 1

0

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

于 2013-10-25T16:28:59.987 回答