Reputation: 599
I'm a newbie to CakePHP but got strange error. I'm just testing it, how to implement many functions and got strange error. I have created a controller called about
and got the following error:
Error: Database table abouts for model About was not found.
Does CakePHP require to have DB table for every single controller?
var $useTable = false;
is not working.
I am using CakePHP 1.2.5
Upvotes: 1
Views: 1785
Reputation: 73490
Try using this in your controller
var $uses = array();
The $usesTable = false
idiom is used in models that don't have associated tables.
Upvotes: 13