1. /app/model/AppModel.php
2. /app/controller/PagesController.php
Once you have successfully setting the new version, you will get the screen below:
1. syarikats_controller.php to syarikatscontroller.php
2. var $scaffold; to public $scaffold;
models_controller.php files. //To save/add datafunction add()
{ if (!empty($this->data)) { $this->Modelname->create(); if(!!$this->Modelname->save($this->data)) { $this->Session->setFlash('Your data is Saved!', true); $this->redirect(array('action'=>'index')); } } }

class Syarikat extends AppModel
{
var $name = 'Syarikat';
}
?>
class SyarikatsController extends AppController
{
var $name = 'Syarikats';
var $scaffold;
}
?>
http://localhost/cakephp/syarikats
Notice (8): Undefined index: id
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY