When i try baking with console ..
cake bake model
After choosing which table name and settings.. i got this error
Baking model class for Shop...
Creating file c:\xampp\htdocs\cakephp\app\Console\Model\Shop.php
Wrote `c:\xampp\htdocs\cakephp\app\Console\Model\Shop.php`
Fatal error: Class 'AppModel' not found in C:\xampp\htdocs\cakephp\lib\Cake\Model\CakeSchema.php on line 308
cake php version 2.1.3
ok solve it.. my bad..
what i did was. directly execute
cake bakefrom directory c:/location/apps/consolethus giving me the errors..
solution
need to add window environment variable
PATHvaluec:/location/apps/consolebrowse with command prompt to c:/location/apps
then execute the
cake bakefrom here