嗨,这是我面临的一个cakephp问题。
我在tbl_promos中添加了一个字段company
,当我试图读取数据$this->data = $this->Promo->read(null, $id);
使用这个。它不会对数组
干杯! !
如果应用程序运行debug
设置为0
,您可能需要在Cake意识到新的数据库结构之前清除/app/tmp/cache/models
缓存。