That's the problem, it started out as a fully baked project: models,
controllers, view, config,... all was baked so the file and class
names, directories and path configs should be right... none of them
were altered during development
As i've said, we've stepped through it following the moves of
Well, debugging of it is not so hard. Start here
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/class_registry.php#L139
If I was you, I would double check filesystem permissions first - to
be sure webserver can access model classes, AND is able to write to
all subfolders of app/tmp
I have the following code for my model 'Order':
?php
class Order extends AppModel {
public $name = 'Order';
public $validate = array(
'user_id' = array('numeric'),
'point_of_sales_id' = array('rule' = 'numeric', 'message' =
'numeric'),
Instances of AppModel are created when cake can not find model class
(feature for fast prototyping or access to tables without need of
model). That could be caused by several things - improper filesystem
permissions for model files, mispelled filenames or class names,
disabled debug and improper