[Solved] The system is unable to find the requested action “name1”. in yii how to solve it [closed]
[ad_1] NameFormController should extend from Controller, not Controlle In your NameFormController, add the function: public function actionName1() { echo ‘action Name1()’; } Don’t forget to update the access rules to allow access to your new action: public function accessRules() { return array( array(‘allow’, ‘actions’ => array(‘index’, ‘view’, ‘name1’), ‘users’ => array(‘*’), ), array(‘deny’, ‘users’ => … Read more