Missing Method in ArticleController

Error: The action index is not defined in controller ArticleController

Error: Create ArticleController::index() in file: sclaobing.com\Controller\ArticleController.php.

<?php
class ArticleController extends AppController {


	public function index() {

	}

}

Notice: If you want to customize this error message, create sclaobing.com\View\Errors\missing_action.ctp

Stack Trace

  • CORE\Cake\Routing\Dispatcher.php line 187Controller->invokeAction(CakeRequest)
  • CORE\Cake\Routing\Dispatcher.php line 162Dispatcher->_invoke(ArticleController, CakeRequest, CakeResponse)
  • APP\webroot\index.php line 96Dispatcher->dispatch(CakeRequest, CakeResponse)
  • (default) 4 queries took 0 ms
    NrQueryErrorAffectedNum. rowsTook (ms)
    1
    SELECT `SystemValue`.`var`, `SystemValue`.`value` FROM `sclaobing_com`.`sckm_system_values` AS `SystemValue` WHERE 1 = 1
    22
    22
    0
    2
    SELECT `AdPosition`.`id`, `AdPosition`.`title`, `AdPosition`.`var`, `AdPosition`.`height`, `AdPosition`.`width`, `AdPosition`.`is_thumb`, `AdPosition`.`is_text`, `AdPosition`.`ad_count` FROM `sclaobing_com`.`sckm_ad_positions` AS `AdPosition` WHERE `var` = 'obanner_' LIMIT 1
    0
    0
    0
    3
    SELECT `Product`.`id`, `Product`.`title`, `Product`.`image` FROM `sclaobing_com`.`sckm_products` AS `Product` WHERE `Product`.`menu_id` = 18 AND `is_index` = '1' ORDER BY `id` DESC LIMIT 5
    5
    5
    0
    4
    SELECT `Link`.`id`, `Link`.`title`, `Link`.`link` FROM `sclaobing_com`.`sckm_links` AS `Link` WHERE `Link`.`menu_id` = 22 AND `is_index` = '1' ORDER BY `id` DESC LIMIT 5
    2
    2
    0